This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once __DIR__ . '/domaindata.php';
|
||||
|
||||
$host = $_SERVER['HTTP_HOST'] ?? '';
|
||||
$isCli = PHP_SAPI === 'cli';
|
||||
$isStagingHost = is_string($host) && str_starts_with($host, 'staging.');
|
||||
@@ -10,4 +8,3 @@ $isStagingHost = is_string($host) && str_starts_with($host, 'staging.');
|
||||
$envDir = $isStagingHost ? __DIR__ . '/staging' : __DIR__ . '/prod';
|
||||
|
||||
require_once $envDir . '/config.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user