Merge branch 'support/3.0' into support/3.1

This commit is contained in:
odain
2024-05-16 14:37:41 +02:00
4 changed files with 49 additions and 54 deletions

View File

@@ -68,7 +68,7 @@ if (file_exists(MAINTENANCE_MODE_FILE) && !$bBypassMaintenance)
http_response_code(503);
// Display message depending on the request
include(APPROOT.'application/maintenancemsg.php');
$sSAPIName = strtoupper(trim(php_sapi_name()));
$sSAPIName = strtoupper(trim(PHP_SAPI));
switch (true)
{