diff --git a/public/auth.php b/public/auth.php index 91c9fc1..ddd927b 100644 --- a/public/auth.php +++ b/public/auth.php @@ -1,6 +1,21 @@ Fehler $http_code"; + } + exit; +} + // --- OIDC Konfiguration --- $client_id = 'iten-pro'; $client_secret = '1qd6v3kCwpkdRu48pgyYF7axT9dywipqEvwHqWM9OiB53bQC'; // Hier im Klartext eintragen @@ -103,6 +118,5 @@ if ($real_target && file_exists($real_target) && strpos($real_target, $base_dir) exit; } -header("HTTP/1.0 404 Not Found"); -echo "404 - Geschützte Datei nicht gefunden"; +serve_error_page(404, '404.html'); exit; \ No newline at end of file