From bcbe6f83eda8938698808b580ebfe8ea574d8540 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 20 Sep 2024 14:19:02 -0700 Subject: [PATCH] feat: Provide enterprise check in initial state Signed-off-by: Christopher Ng --- lib/private/Template/JSConfigHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php index 44563f2938c..a65eaacbd29 100644 --- a/lib/private/Template/JSConfigHelper.php +++ b/lib/private/Template/JSConfigHelper.php @@ -159,6 +159,7 @@ class JSConfigHelper { 'version' => implode('.', $this->serverVersion->getVersion()), 'versionstring' => $this->serverVersion->getVersionString(), 'enable_non-accessible_features' => $this->config->getSystemValueBool('enable_non-accessible_features', true), + 'is_enterprise' => Util::isEnterprise(), ]; $array = [ -- 2.39.5