aboutsummaryrefslogtreecommitdiff
path: root/constants.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'constants.inc.php')
-rw-r--r--constants.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/constants.inc.php b/constants.inc.php
index 256ea2a..cadaffa 100644
--- a/constants.inc.php
+++ b/constants.inc.php
@@ -13,8 +13,7 @@ define('PAGE_BOOKMARKS', "bookmarks");
// Miscellanous
-// INSTALLATION_ID is based on directory path and used as prefix (in session and cookie) to prevent mutual login for different installations on the same host server
-//define('INSTALLATION_ID', md5(dirname(realpath('.'))));
+// INSTALLATION_ID is based on directory DB and used as prefix (in session and cookie) to prevent mutual login for different installations on the same host server
define('INSTALLATION_ID', md5($GLOBALS['dbname'].$GLOBALS['tableprefix']));
?>