aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 2ebbca3568..90b8bb2a22 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -508,7 +508,8 @@ class phpbb_template
}
else
{
- // What should we do here?
+ // trigger_error cannot be used here, as the output already started
+ echo 'template->_tpl_include(): Failed including ' . htmlspecialchars($handle) . "\n";
}
}
@@ -525,7 +526,7 @@ class phpbb_template
if (!file_exists($file))
{
// trigger_error cannot be used here, as the output already started
- echo 'template->_php_include(): File ' . htmlspecialchars($file) . ' does not exist or is empty';
+ echo 'template->_php_include(): File ' . htmlspecialchars($file) . " does not exist\n";
return;
}
include($file);