comparison constants.inc.php @ 134:b6b4a58c7625

Using .inc.php rather than just .inc for include files.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Sun, 22 Jan 2023 19:22:00 +0100
parents constants.inc@ee939079b8b6
children
comparison
equal deleted inserted replaced
133:00255ca89459 134:b6b4a58c7625
1 <?php
2 /**
3 * @file
4 * Definitions of constants
5 */
6 define('VERBOSITY_NONE', 0);
7 define('VERBOSITY_ERROR', 1);
8 define('VERBOSITY_WARNING', 10);
9 define('VERBOSITY_DEBUG', 100);
10
11 define('DEBUG_LEVEL', VERBOSITY_NONE);
12 define('COMPRESSION_DISABLED', 0);
13
14 define('DUMP', 0);
15 define('MAX_RECURSE', 50);
16 define('CACHING', 1);
17 define('VALIDATE', 0);
18
19 define('ABORT_ON_LOG', FALSE);
20
21
22 if (DEBUG_LEVEL >= VERBOSITY_WARNING) {
23 error_reporting(E_ALL);
24 ini_set("display_errors", 1);
25 ini_set('display_startup_errors', 1);
26 }
27 ?>