diff --git a/src/Backend.php b/src/Backend.php index a4bd220..3a28fbe 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -24,14 +24,14 @@ class Backend extends dcNsProcess { public static function init(): bool { - self::$init = defined('DC_CONTEXT_ADMIN'); + static::$init = defined('DC_CONTEXT_ADMIN'); - return self::$init; + return static::$init; } public static function process(): bool { - if (!self::$init) { + if (!static::$init) { return false; }