From fa53d5365722f6746473ee9516a58c15a94fc7a0 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 20 Apr 2023 15:56:30 +0200 Subject: [PATCH] fix backend only --- src/Uninstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }