xxx
All checks were successful
Deploy / deploy (push) Successful in 15s

This commit is contained in:
2026-05-15 22:49:39 +02:00
parent d914a660d8
commit 07989f9fba
3 changed files with 26 additions and 4 deletions

View File

@@ -1,7 +1,17 @@
<?php
declare(strict_types=1);
require_once dirname(__DIR__) . '/domainbase.php';
$domainBaseCandidates = [
__DIR__ . '/domainbase.php',
dirname(__DIR__) . '/domainbase.php',
];
foreach ($domainBaseCandidates as $candidate) {
if (is_file($candidate)) {
require_once $candidate;
break;
}
}
if (!defined('APP_DOMAIN_NAME')) {
define('APP_DOMAIN_NAME', APP_DOMAIN_BASE);
@@ -10,4 +20,3 @@ if (!defined('APP_DOMAIN_NAME')) {
if (!defined('APP_STAGE_PREFIX')) {
define('APP_STAGE_PREFIX', 'staging');
}