fix backend only

master
Jean-Christian Paul Denis 2023-04-20 15:56:30 +02:00
parent fc869207a6
commit fa53d53657
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}