Fixed Forbidden message.

This commit is contained in:
Philipp Holzer 2019-05-02 23:35:52 +02:00
parent 43a0f2d8d7
commit c685ce3db1
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View File

@ -40,7 +40,7 @@ class Directory extends BaseModule
if (($config->get('system', 'block_public') && !local_user() && !remote_user()) || if (($config->get('system', 'block_public') && !local_user() && !remote_user()) ||
($config->get('system', 'block_local_dir') && !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 = ''; $output = '';