From: mensonge Date: Fri, 9 May 2008 08:16:05 +0000 (+0000) Subject: Bug fix: correct identification through API X-Git-Tag: v0.90~39 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e273c0d367da161651324eca1b7e4177c670c91f;p=semanticscuttle.git Bug fix: correct identification through API git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@121 b3834d28-1941-0410-a4f8-b48e95affb8f --- 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'])); ?>