You are not logged in.
Misplaced lines and an invalid define in based_config.php prevent the "config" and "files" directories from being moved out of the web root.
Old Code
======
// If this file exists, it is load
if (file_exists(GLPI_ROOT. '/config/local_define.php')) {
require_once GLPI_ROOT. '/config/local_define.php';
}
// If this file exists, it is load, allow to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once (GLPI_ROOT . '/inc/downstream.php');
}
New Code
======
// If this file exists, it is loaded to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once (GLPI_ROOT . '/inc/downstream.php');
}
// Default location for database configuration : config_db.php
if (!defined("GLPI_CONFIG_DIR")) {
define("GLPI_CONFIG_DIR", GLPI_ROOT . "/config");
}
// If this file exists, it is loaded
if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
require_once GLPI_CONFIG_DIR . '/local_define.php';
}
Offline