diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-05-09 08:16:05 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-05-09 08:16:05 +0000 |
commit | e273c0d367da161651324eca1b7e4177c670c91f (patch) | |
tree | 1036b26e3f92728595712a7f18ead0d40d1cbbbd /constants.inc.php | |
parent | 5172b0b4ea973cca531269dc30dfca29501b0804 (diff) | |
download | semanticscuttle-e273c0d367da161651324eca1b7e4177c670c91f.tar.gz semanticscuttle-e273c0d367da161651324eca1b7e4177c670c91f.tar.bz2 |
Bug fix: correct identification through API
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@121 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'constants.inc.php')
-rw-r--r-- | constants.inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/constants.inc.php b/constants.inc.php index e64db43..2576385 100644 --- a/constants.inc.php +++ b/constants.inc.php @@ -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'])); ?> |