From 55a134e11f98be7a56bb8e7170be5a62770a8364 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 4 Aug 2023 10:59:59 +0200 Subject: [PATCH] fix permissions --- src/Frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend.php b/src/Frontend.php index d35c018..51da4dd 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -26,7 +26,7 @@ class Frontend extends Process { public static function init(): bool { - return self::status(My::checkContext(My::INSTALL) && in_array(dcCore::app()->url->type, ['default', 'feed'])); + return self::status(My::checkContext(My::FRONTEND) && in_array(dcCore::app()->url->type, ['default', 'feed'])); } public static function process(): bool