e273c0d367
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@121 b3834d28-1941-0410-a4f8-b48e95affb8f
15 lines
470 B
PHP
15 lines
470 B
PHP
<?php
|
|
|
|
// Error codes
|
|
define('GENERAL_MESSAGE', 200);
|
|
define('GENERAL_ERROR', 202);
|
|
define('CRITICAL_MESSAGE', 203);
|
|
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('.'))));
|
|
define('INSTALLATION_ID', md5($GLOBALS['dbname'].$GLOBALS['tableprefix']));
|
|
|
|
?>
|