aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-05 01:24:01 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-05 01:24:01 +0000
commitb8a5fde84629cdc4885016b76c90d9836c4f65b0 (patch)
tree0120912c4862214944e2689c49c44c095f112810 /include/template.class.php
parent116f1bc4fb9c2825a87d7fab9dbfdde78434431a (diff)
- better management of fatal errors (instead of die or trigger_error rather use fatal_error ...)
git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/template.class.php')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index dfe1562a3..7b4e4caf1 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -224,7 +224,7 @@ class Template {
{
if ( !isset($this->files[$handle]) )
{
- trigger_error("Template->parse(): Couldn't load template file for handle $handle", E_USER_ERROR);
+ fatal_error("Template->parse(): Couldn't load template file for handle $handle");
}
$this->smarty->assign( 'ROOT_URL', get_root_url() );