Skip to content
Snippets Groups Projects
Commit 1cc87939 authored by llaffont's avatar llaffont
Browse files

Cosmogramme prends en compte la config EXPERIMENTAL_DEV

parent dbe2598b
Branches
Tags
No related merge requests found
......@@ -43,8 +43,9 @@ require_once "startup.php";
Zend_Loader::registerAutoload();
$cfg_file = file_exists('../config.ini') ? '../config.ini' : OPAC_PATH.'/config.ini';
setupDatabase(loadConfig($cfg_file));
$cfg = loadConfig($cfg_file);
setupDatabase($cfg);
setupDevOptions($cfg);
defineConstant('LANG_DIR', realpath(dirname(__FILE__)).'/../library/translation/');
setupLanguage();
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment