An error occurred while loading the file. Please try again.
-
llaffont authored2b0a9307
INSTALL 1.03 KiB
How to setup AFI-OPAC
IMPORTANT: must be accessible from / directory actually. For development we use http://localhost/afi-opac3
- copy index.php.default to index.php.
- copy config.ini.default to config.ini, then configure according to your settings.
- touch local.php for custom configuration.
== Zend Framework ==
- download and extract Zend Framework 1.6.2: http://framework.zend.com/releases/ZendFramework-1.6.2/ZendFramework-1.6.2.tar.gz
- in index.php and tests/bootstrap.php setup Zend Framework path according your install
If you use PHP 5.3, you must patch ZendFramework-1.6.2/library/Zend/Db/Statement/Mysqli.php, l.200:
// send $params as input parameters to the statement
if ($params) {
array_unshift($params, str_repeat('s', count($params)));
$stmtParams = array();
foreach ($params as $k => &$value) {
$stmtParams[$k] = &$value;
}
call_user_func_array(
array($this->_stmt, 'bind_param'),
$stmtParams);
}