Further fixes for PHP 8.4

This commit is contained in:
Clemens Schwaighofer
2025-01-20 20:27:03 +09:00
parent bcde36ac17
commit e7dd96b5d9
6 changed files with 68 additions and 35 deletions

View File

@@ -184,7 +184,7 @@ define('HOST_NAME', $HOST_NAME);
// BAIL ON MISSING MASTER SITE CONFIG
if (!isset($SITE_CONFIG[HOST_NAME]['location'])) {
echo 'Missing SITE_CONFIG entry for: "' . HOST_NAME . '". Contact Administrator';
exit;
exit(1);
}
// BAIL ON MISSING DB CONFIG:
// we have either no db selction for this host but have db config entries
@@ -201,7 +201,7 @@ if (
)
) {
echo 'No matching DB config found for: "' . HOST_NAME . '". Contact Administrator';
exit;
exit(1);
}
// set SSL on
$is_secure = false;