074cfd0a8c
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@135 b3834d28-1941-0410-a4f8-b48e95affb8f
25 lines
677 B
PHP
25 lines
677 B
PHP
<?php
|
|
|
|
// Error codes
|
|
define('GENERAL_MESSAGE', 200);
|
|
define('GENERAL_ERROR', 202);
|
|
define('CRITICAL_MESSAGE', 203);
|
|
define('CRITICAL_ERROR', 204);
|
|
|
|
// Page name
|
|
define('PAGE_INDEX', "index");
|
|
define('PAGE_BOOKMARKS', "bookmarks");
|
|
|
|
|
|
// Miscellanous
|
|
|
|
// 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']));
|
|
|
|
|
|
// 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"];
|
|
}
|
|
|
|
?>
|