diff --git a/WEBROOT/services/services_control.php b/WEBROOT/services/services_control.php index 184ca44..7e51dd6 100644 --- a/WEBROOT/services/services_control.php +++ b/WEBROOT/services/services_control.php @@ -94,7 +94,7 @@ if (isset($_POST['save']) && ($_SESSION['logged_in'] ?? false)) { if (file_put_contents($configFile, $content)) { if (function_exists('opcache_invalidate')) { @opcache_invalidate($configFile, true); } $_SESSION['status_message'] = "✅ Konfiguration erfolgreich aktualisiert!"; - header("Location: " . (new getSpecificData())->getReferer()); + header("Location: " . $_SERVER['PHP_SELF']); exit; } }