view constants.inc @ 68:4dfa3f6a2dc1

Modify CacheTimeCheck to have a common parent, and two different implementations for script caches and file caches. Support for linkedcaches.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 23:16:53 +0200
parents 2cfea6e84694
children 7a9c45b53866
line wrap: on
line source

<?php
/**
 * @file
 * Definitions of constants
 */
define(VERBOSITY_NONE, 0);
define(VERBOSITY_ERROR, 1);
define(VERBOSITY_WARNING, 10);
define(VERBOSITY_DEBUG, 100);

define(DEBUG_LEVEL, VERBOSITY_WARNING);

define(DUMP, 0);
define(MAX_RECURSE, 50);
define(CACHING, 1);

define(ABORT_ON_LOG, TRUE);


if (DEBUG_LEVEL >= VERBOSITY_WARNING) {
  error_reporting(E_ALL);
  ini_set("display_errors", 1);
}
?>