mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
nothing important..
some visual fixes
This commit is contained in:
parent
99da8dbec1
commit
7ddcb441c8
@ -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;
|
||||
}
|
||||
|
||||
|
@ -55,5 +55,3 @@ if($show_form) {
|
||||
//show form
|
||||
$twig->display('account.generate_recovery_key.html.twig');
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user