<?php
declare(strict_types=1);

$host = $_SERVER['HTTP_HOST'] ?? '';
$isCli = PHP_SAPI === 'cli';
$isStagingHost = is_string($host) && str_starts_with($host, 'staging.');

$envDir = $isStagingHost ? __DIR__ . '/staging' : __DIR__ . '/prod';

require_once $envDir . '/config.php';
