diff --git a/src/Uninstall.php b/src/Uninstall.php index 482a2fe..9d9f7e1 100644 --- a/src/Uninstall.php +++ b/src/Uninstall.php @@ -22,7 +22,7 @@ class Uninstall extends dcNsProcess { public static function init(): bool { - static::$init = defined('DC_RC_PATH'); + static::$init = defined('DC_CONTEXT_ADMIN'); return static::$init; }