Mercurial > SimpleWebPresenter
comparison constants.inc @ 118:e9f562a34fa5
Fix error when setting constants.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 28 Dec 2017 18:33:17 +0100 |
| parents | adf7b11921f4 |
| children | ee939079b8b6 |
comparison
equal
deleted
inserted
replaced
| 117:e01ce5722f2b | 118:e9f562a34fa5 |
|---|---|
| 1 <?php | 1 <?php |
| 2 /** | 2 /** |
| 3 * @file | 3 * @file |
| 4 * Definitions of constants | 4 * Definitions of constants |
| 5 */ | 5 */ |
| 6 define(VERBOSITY_NONE, 0); | 6 define('VERBOSITY_NONE', 0); |
| 7 define(VERBOSITY_ERROR, 1); | 7 define('VERBOSITY_ERROR', 1); |
| 8 define(VERBOSITY_WARNING, 10); | 8 define('VERBOSITY_WARNING', 10); |
| 9 define(VERBOSITY_DEBUG, 100); | 9 define('VERBOSITY_DEBUG', 100); |
| 10 | 10 |
| 11 define(DEBUG_LEVEL, VERBOSITY_NONE); | 11 define('DEBUG_LEVEL', VERBOSITY_NONE); |
| 12 define(COMPRESSION_DISABLED, 0); | 12 define('COMPRESSION_DISABLED', 0); |
| 13 | 13 |
| 14 define(DUMP, 0); | 14 define('DUMP', 0); |
| 15 define(MAX_RECURSE, 50); | 15 define('MAX_RECURSE', 50); |
| 16 define(CACHING, 1); | 16 define('CACHING', 1); |
| 17 define(VALIDATE, 0); | 17 define('VALIDATE', 0); |
| 18 | 18 |
| 19 define(ABORT_ON_LOG, FALSE); | 19 define('ABORT_ON_LOG', FALSE); |
| 20 | 20 |
| 21 | 21 |
| 22 if (DEBUG_LEVEL >= VERBOSITY_WARNING) { | 22 if (DEBUG_LEVEL >= VERBOSITY_WARNING) { |
| 23 error_reporting(E_ALL); | 23 error_reporting(E_ALL); |
| 24 ini_set("display_errors", 1); | 24 ini_set("display_errors", 1); |
