fixed nowexists keys in configuration

This commit is contained in:
2026-02-09 08:04:37 +01:00
parent 7fdf4d32d5
commit 0f137dbe73

View File

@ -60,8 +60,8 @@ if (!$loaded) {
}
$protocol = (!empty($_SERVER[\'HTTPS\']) && $_SERVER[\'HTTPS\'] !== \'off\') ? "https://" : "http://";
$host = $_SERVER[\'HTTP_HOST\'];
$uri = $_SERVER[\'REQUEST_URI\']; // obsahuje aj query string
$host = $_SERVER[\'HTTP_HOST\'] ?? \'localhost\';
$uri = $_SERVER[\'REQUEST_URI\'] ?? \'\'; // obsahuje aj query string
define(\'URL_PREFIX\', $protocol.$host.str_replace(basename($_SERVER[\'SCRIPT_NAME\']), \'\', $_SERVER[\'SCRIPT_NAME\']));
');