Index: trunk/inc/methodsession.class.php =================================================================== --- trunk/inc/methodsession.class.php (révision 457) +++ trunk/inc/methodsession.class.php (révision 458) @@ -339,12 +339,7 @@ $current = session_id(); $session = trim($session); - if (file_exists(GLPI_ROOT . "/config/config_path.php")) { - include_once (GLPI_ROOT . "/config/config_path.php"); - } - if (!defined("GLPI_SESSION_DIR")) { - define("GLPI_SESSION_DIR", GLPI_ROOT . "/files/_sessions"); - } + require_once GLPI_ROOT . '/inc/based_config.php'; if ($session != $current) { if (!empty($current)) {