mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 08:22:24 +02:00
- 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
This commit is contained in:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user