Mercurial > SimpleWebPresenter
comparison constants.inc @ 47:66382989353f
Extract baseDir only once.
Function for generating cacheset.
Added logger functionality.
Removed hardcoded location for flagScript.
BUGFIX: masterdocument was not added to the cacheset.
BUGFIX: When two options existed next to eachother, the last was not
read.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Mon, 08 Oct 2012 17:35:08 +0200 |
| parents | 79f708a48a7c |
| children | 2cfea6e84694 |
comparison
equal
deleted
inserted
replaced
| 46:15879e2aab65 | 47:66382989353f |
|---|---|
| 8 | 8 |
| 9 define(DUMP, 0); | 9 define(DUMP, 0); |
| 10 define(MAX_RECURSE, 50); | 10 define(MAX_RECURSE, 50); |
| 11 define(CACHING, 1); | 11 define(CACHING, 1); |
| 12 | 12 |
| 13 define(ABORT_ON_LOG, TRUE); | |
| 14 | |
| 15 | |
| 13 if (DEBUG_LEVEL >= VERBOSITY_WARNING) { | 16 if (DEBUG_LEVEL >= VERBOSITY_WARNING) { |
| 14 error_reporting(E_ALL); | 17 error_reporting(E_ALL); |
| 15 ini_set("display_errors", 1); | 18 ini_set("display_errors", 1); |
| 16 } | 19 } |
| 17 ?> | 20 ?> |
