summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-07 12:40:35 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-07 12:40:35 +1000
commite9ccc5d72d121859c8a766bd64a87d45d42f62a2 (patch)
tree9be89e43c80a3fa18fe17e9ed7c31a6d7288e285 /inc/config.php
parent9ccf62bb613d00d5d86391d90b7b2410f79c3da8 (diff)
Optionally EXPLAIN all SQL queries when in debug mode
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 81cae233..43550dc3 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -44,6 +44,8 @@
$config['debug'] = false;
// For development purposes. Displays (and "dies" on) all errors and warnings. Turn on with the above.
$config['verbose_errors'] = true;
+ // EXPLAIN all SQL queries (when in debug mode).
+ $config['debug_explain'] = false;
// Directory where temporary files will be created.
$config['tmp'] = sys_get_temp_dir();