diff constants.inc.php @ 134:b6b4a58c7625

Using .inc.php rather than just .inc for include files.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Sun, 22 Jan 2023 19:22:00 +0100
parents constants.inc@ee939079b8b6
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/constants.inc.php	Sun Jan 22 19:22:00 2023 +0100
@@ -0,0 +1,27 @@
+<?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);
+  ini_set('display_startup_errors', 1);
+}
+?>