fix permissions

master
Jean-Christian Paul Denis 2023-08-04 10:59:59 +02:00
parent 2cd2a86a1f
commit 55a134e11f
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Frontend extends Process
{ {
public static function init(): bool 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 public static function process(): bool