APi
This commit is contained in:
@@ -1 +1 @@
|
||||
1.2.13
|
||||
1.2.14
|
||||
@@ -4870,9 +4870,8 @@ SQL;
|
||||
private function ensureDebugEnv(): void
|
||||
{
|
||||
$env = strtolower((string)($this->conf['env'] ?? ''));
|
||||
if ($env === 'staging') {
|
||||
return;
|
||||
}
|
||||
if ($env === 'staging') return;
|
||||
if (defined('APP_ENV') && strtolower((string)APP_ENV) === 'staging') return;
|
||||
$host = '';
|
||||
if (!empty($_SERVER['HTTP_X_FORWARDED_HOST'])) {
|
||||
$host = strtolower(trim(explode(',', (string)$_SERVER['HTTP_X_FORWARDED_HOST'])[0]));
|
||||
|
||||
Reference in New Issue
Block a user