From c685ce3db17cc1bc0776fde2cff33ea440f075f0 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 2 May 2019 23:35:52 +0200 Subject: [PATCH] Fixed Forbidden message. --- src/Module/Directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Directory.php b/src/Module/Directory.php index f1a1c9861f..cdf43b8f95 100644 --- a/src/Module/Directory.php +++ b/src/Module/Directory.php @@ -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 = ''; -- 2.39.5