mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 06:53:53 +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
|
* @retval void
|
||||||
**/
|
**/
|
||||||
public static function fatal_error($error=null) {
|
public static function fatal_error($error=null) {
|
||||||
self :: $_smarty -> assign('pagetitle', _("A fatal error occured."));
|
self :: assign('pagetitle', _("A fatal error occured."));
|
||||||
self :: $_smarty -> assign('error', _("A fatal error occured. If problem persist, please contact support."));
|
self :: assign('error', _("A fatal error occured. If problem persist, please contact support."));
|
||||||
self :: $_smarty -> assign('details', $error);
|
self :: assign('details', $error);
|
||||||
self :: $_smarty -> display("ls:error.tpl");
|
self :: display("error.tpl");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue