The boot.php had been cleared of most functions
This commit is contained in:
@@ -51,7 +51,7 @@ class HTTPException
|
||||
'$stack_trace' => DI::l10n()->t('Stack trace:'),
|
||||
];
|
||||
|
||||
if (is_site_admin()) {
|
||||
if (DI::app()->isSiteAdmin()) {
|
||||
$vars['$thrown'] = DI::l10n()->t('Exception thrown in %s:%d', $e->getFile(), $e->getLine());
|
||||
$vars['$trace'] = $e->getTraceAsString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user