Mercurial > SimpleWebPresenter
changeset 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 | e01ce5722f2b |
| children | df158368051e |
| files | constants.inc |
| diffstat | 1 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/constants.inc Sun Mar 27 21:33:08 2016 +0200 +++ b/constants.inc Thu Dec 28 18:33:17 2017 +0100 @@ -3,24 +3,24 @@ * @file * Definitions of constants */ -define(VERBOSITY_NONE, 0); -define(VERBOSITY_ERROR, 1); -define(VERBOSITY_WARNING, 10); -define(VERBOSITY_DEBUG, 100); +define('VERBOSITY_NONE', 0); +define('VERBOSITY_ERROR', 1); +define('VERBOSITY_WARNING', 10); +define('VERBOSITY_DEBUG', 100); -define(DEBUG_LEVEL, VERBOSITY_NONE); -define(COMPRESSION_DISABLED, 0); +define('DEBUG_LEVEL', VERBOSITY_NONE); +define('COMPRESSION_DISABLED', 0); -define(DUMP, 0); -define(MAX_RECURSE, 50); -define(CACHING, 1); -define(VALIDATE, 0); +define('DUMP', 0); +define('MAX_RECURSE', 50); +define('CACHING', 1); +define('VALIDATE', 0); -define(ABORT_ON_LOG, FALSE); +define('ABORT_ON_LOG', FALSE); if (DEBUG_LEVEL >= VERBOSITY_WARNING) { error_reporting(E_ALL); ini_set("display_errors", 1); } -?> \ No newline at end of file +?>
