mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
Fixed Forbidden message.
This commit is contained in:
parent
43a0f2d8d7
commit
c685ce3db1
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Directory extends BaseModule
|
|||
|
||||
if (($config->get('system', 'block_public') && !local_user() && !remote_user()) ||
|
||||
($config->get('system', 'block_local_dir') && !local_user() && !remote_user())) {
|
||||
throw new HTTPException\ForbiddenException();
|
||||
throw new HTTPException\ForbiddenException(L10n::t('Public access denied.'));
|
||||
}
|
||||
|
||||
$output = '';
|
||||
|
|
Loading…
Reference in a new issue