view constants.inc @ 117:e01ce5722f2b

New change to how we save (X)HTML files. This time we simplify things by using DocumentFragments to load stuff, and preserve CDATA content.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Sun, 27 Mar 2016 21:33:08 +0200
parents adf7b11921f4
children e9f562a34fa5
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_NONE);
define(COMPRESSION_DISABLED, 0);

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

define(ABORT_ON_LOG, FALSE);


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