mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
The boot.php had been cleared of most functions
This commit is contained in:
parent
4989d1fa99
commit
63da4a75e9
37 changed files with 279 additions and 401 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue