2008-04-18 09:57:32 +00:00
< ? php
// Error codes
define ( 'GENERAL_MESSAGE' , 200 );
define ( 'GENERAL_ERROR' , 202 );
define ( 'CRITICAL_MESSAGE' , 203 );
define ( 'CRITICAL_ERROR' , 204 );
2008-05-14 08:55:38 +00:00
// Page name
define ( 'PAGE_INDEX' , " index " );
define ( 'PAGE_BOOKMARKS' , " bookmarks " );
2008-04-18 09:57:32 +00:00
// Miscellanous
2008-06-01 13:17:54 +00:00
// 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
2008-05-09 08:16:05 +00:00
define ( 'INSTALLATION_ID' , md5 ( $GLOBALS [ 'dbname' ] . $GLOBALS [ 'tableprefix' ]));
2008-04-18 09:57:32 +00:00
2008-06-04 08:11:11 +00:00
// 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 " ];
}
2008-04-18 09:57:32 +00:00
?>