summaryrefslogtreecommitdiffstats
path: root/changeset_r458.diff
diff options
context:
space:
mode:
Diffstat (limited to 'changeset_r458.diff')
-rw-r--r--changeset_r458.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/changeset_r458.diff b/changeset_r458.diff
new file mode 100644
index 0000000..13740e3
--- /dev/null
+++ b/changeset_r458.diff
@@ -0,0 +1,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)) {