nothing important..

some visual fixes
This commit is contained in:
slawkens 2022-11-04 09:28:51 +01:00
parent 99da8dbec1
commit 7ddcb441c8
3 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,7 @@ function exception_handler($exception) {
// cause in case Twig throws exception, we can show it too
$content = file_get_contents($template_file);
$content = str_replace(array('{{ BASE_URL }}', '{{ exceptionClass }}', '{{ message }}', '{{ backtrace }}', '{{ powered_by }}'), array(BASE_URL, get_class($exception), $message, $backtrace_formatted, base64_decode('UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vbXktYWFjLm9yZyIgdGFyZ2V0PSJfYmxhbmsiPk15QUFDLjwvYT4=')), $content);
echo $content;
}

View File

@ -55,5 +55,3 @@ if($show_form) {
//show form
$twig->display('account.generate_recovery_key.html.twig');
}
?>

View File

@ -80,6 +80,7 @@ else {
}
$template_ini = parse_ini_file($file);
unset($file);
if ($cache->enabled()) {
$cache->set('template_ini_' . $template_name, serialize($template_ini));