blob: 13740e3ed664da8333650a1bdc01e125fa24c513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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)) {
|