aboutsummaryrefslogtreecommitdiff
path: root/constants.inc.php
blob: e64db438fcf71011dff95a3fb1c7bfd7adaf36c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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('.'))));

?>