From abc3d304730caf8b2fa8060e0f89225f97381eed Mon Sep 17 00:00:00 2001 From: adrien Date: Tue, 20 May 2025 14:56:27 +0200 Subject: [PATCH] little fixes --- show.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/show.php b/show.php index 7f31047..d694795 100644 --- a/show.php +++ b/show.php @@ -14,7 +14,7 @@ if ( $conf = file_get_contents($path); if ($conf === false) { - http_error_code(404); + http_response_code(404); die("Fichier non trouvé"); } @@ -130,7 +130,7 @@ foreach ($interfaces as $interface) { " target="_blank" class="link no-print">Télécharger la configuration - ← Retour à la liste + ← Retour à la liste