diff options
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 70d6053517..e8bb63e56b 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -171,9 +171,15 @@ class Template { */ function display($handle) { + if (!empty($_REQUEST['explain'])) + { + global $db; + echo $this->sql_report(); + return TRUE; + } $_str = ''; - if ( !($this->compile_load($_str, $handle, true)) ) + if (!$this->compile_load($_str, $handle, true)) { if ( !$this->loadfile($handle) ) { |