]> git.mxchange.org Git - friendica.git/commitdiff
Fixed Forbidden message.
authorPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 21:35:52 +0000 (23:35 +0200)
committerPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 21:35:52 +0000 (23:35 +0200)
src/Module/Directory.php

index f1a1c9861f601233770eeca7262a75d4a0a71aff..cdf43b8f953432528a02d154a1ac0fb3c8f2ac0c 100644 (file)
@@ -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 = '';