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