diff --git a/lib/Service/System/SystemInfoService.php b/lib/Service/System/SystemInfoService.php index 65ad2a1..5f48516 100644 --- a/lib/Service/System/SystemInfoService.php +++ b/lib/Service/System/SystemInfoService.php @@ -111,7 +111,7 @@ class SystemInfoService private function resolveEnvironment(): string { if (defined('APP_ENV')) { - return (string) APP_ENV; + return (string) constant('APP_ENV'); } $env = getenv('APP_ENV');