mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +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 @@ final class FriendicaSmartyEngine extends TemplateEngine
|
|||
if (!is_writable(DI::basePath() . '/view/smarty3')) {
|
||||
$admin_message = DI::l10n()->t('The folder view/smarty3/ must be writable by webserver.');
|
||||
DI::logger()->critical($admin_message);
|
||||
$message = is_site_admin() ?
|
||||
$message = DI::app()->isSiteAdmin() ?
|
||||
$admin_message :
|
||||
DI::l10n()->t('Friendica can\'t display this page at the moment, please contact the administrator.');
|
||||
throw new ServiceUnavailableException($message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue