mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LStemplate :: fatal_error(): use LStemplate method to display error
This permit to correctly handling custom JS/CSS files
This commit is contained in:
parent
88c995ac5c
commit
bfe7e18e58
1 changed files with 4 additions and 4 deletions
|
@ -455,10 +455,10 @@ class LStemplate extends LSlog_staticLoggerClass {
|
|||
* @retval void
|
||||
**/
|
||||
public static function fatal_error($error=null) {
|
||||
self :: $_smarty -> assign('pagetitle', _("A fatal error occured."));
|
||||
self :: $_smarty -> assign('error', _("A fatal error occured. If problem persist, please contact support."));
|
||||
self :: $_smarty -> assign('details', $error);
|
||||
self :: $_smarty -> display("ls:error.tpl");
|
||||
self :: assign('pagetitle', _("A fatal error occured."));
|
||||
self :: assign('error', _("A fatal error occured. If problem persist, please contact support."));
|
||||
self :: assign('details', $error);
|
||||
self :: display("error.tpl");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue