]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Directory.php
Move mod/like to src/Module/Like
[friendica.git] / 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 = '';