fix permissions
This commit is contained in:
parent
2cd2a86a1f
commit
55a134e11f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue