Skip to content

Commit

Permalink
feat: Provide enterprise check in initial state
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Sep 20, 2024
1 parent 023bc28 commit bcbe6f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Template/JSConfigHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public function getConfig(): string {
'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 = [
Expand Down

0 comments on commit bcbe6f8

Please sign in to comment.