Mercurial > SimpleWebPresenter
comparison constants.inc @ 44:79f708a48a7c
Added a constants include.
Refactored out functions from sitemap.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Mon, 08 Oct 2012 02:01:04 +0200 |
| parents | |
| children | 66382989353f |
comparison
equal
deleted
inserted
replaced
| 43:f42dbf44b661 | 44:79f708a48a7c |
|---|---|
| 1 <?php | |
| 2 define(VERBOSITY_NONE, 0); | |
| 3 define(VERBOSITY_ERROR, 1); | |
| 4 define(VERBOSITY_WARNING, 10); | |
| 5 define(VERBOSITY_DEBUG, 100); | |
| 6 | |
| 7 define(DEBUG_LEVEL, VERBOSITY_WARNING); | |
| 8 | |
| 9 define(DUMP, 0); | |
| 10 define(MAX_RECURSE, 50); | |
| 11 define(CACHING, 1); | |
| 12 | |
| 13 if (DEBUG_LEVEL >= VERBOSITY_WARNING) { | |
| 14 error_reporting(E_ALL); | |
| 15 ini_set("display_errors", 1); | |
| 16 } | |
| 17 ?> |
