]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Bug fix: correct identification through API
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 9 May 2008 08:16:05 +0000 (08:16 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 9 May 2008 08:16:05 +0000 (08:16 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@121 b3834d28-1941-0410-a4f8-b48e95affb8f

constants.inc.php

index e64db438fcf71011dff95a3fb1c7bfd7adaf36c9..257638582734e4690c2742a702bf59864f4e9ab6 100644 (file)
@@ -8,7 +8,8 @@ define('CRITICAL_ERROR', 204);
 
 // 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  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('.'))));
+define('INSTALLATION_ID', md5($GLOBALS['dbname'].$GLOBALS['tableprefix']));
 
 ?>