Bug fix: correct problem with PATH_INFO (Thanks to Montie)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@135 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
3df04e1ce4
commit
074cfd0a8c
1 changed files with 6 additions and 0 deletions
|
@ -16,4 +16,10 @@ define('PAGE_BOOKMARKS', "bookmarks");
|
||||||
// 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
|
// 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']));
|
define('INSTALLATION_ID', md5($GLOBALS['dbname'].$GLOBALS['tableprefix']));
|
||||||
|
|
||||||
|
|
||||||
|
// Correct bug with PATH_INFO (maybe for Apache 1)
|
||||||
|
if(strlen($_SERVER["PATH_INFO"])<strlen($_SERVER["ORIG_PATH_INFO"])) {
|
||||||
|
$_SERVER["PATH_INFO"] = $_SERVER["ORIG_PATH_INFO"];
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue