fix: env error constants
This commit is contained in:
@@ -111,7 +111,7 @@ class SystemInfoService
|
|||||||
private function resolveEnvironment(): string
|
private function resolveEnvironment(): string
|
||||||
{
|
{
|
||||||
if (defined('APP_ENV')) {
|
if (defined('APP_ENV')) {
|
||||||
return (string) APP_ENV;
|
return (string) constant('APP_ENV');
|
||||||
}
|
}
|
||||||
|
|
||||||
$env = getenv('APP_ENV');
|
$env = getenv('APP_ENV');
|
||||||
|
|||||||
Reference in New Issue
Block a user