X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Fhome-page%2Ffr%2Finc%2Fheader.php;h=9e23a57b59f701692358c8228a6933733de37f37;hb=9b94ceb005c4c312ea63818a1e28cf20cf71d9c4;hp=af9ef6684bb5b3ede3bf2e76c0450b55fa3e4a35;hpb=c73dc966e32288e5548869196d46a6cb4dfb28d2;p=bacula%2Fdocs diff --git a/docs/home-page/fr/inc/header.php b/docs/home-page/fr/inc/header.php index af9ef668..9e23a57b 100644 --- a/docs/home-page/fr/inc/header.php +++ b/docs/home-page/fr/inc/header.php @@ -10,6 +10,12 @@ * */ isset($page) || $page = "home"; // default page to show + if (!preg_match("/^[a-zA-Z0-9_\-]+$/", $page)) { + sleep(5); + header("HTTP/1.0 404 Not Found"); + exit; + } + $page_directory = "pages"; // directory with pages $page_current = "$page_directory/$page.php"; @@ -43,13 +49,13 @@ Bacula, the Network Backup Tool for Linux, Unix, and Windows - + - - + + @@ -58,29 +64,32 @@ @@ -98,7 +107,7 @@ '); printf('Welcome %s, logout here.', $_SESSION['user']); printf(''); @@ -112,36 +121,21 @@ @@ -153,6 +147,7 @@ @@ -161,14 +156,11 @@ @@ -196,10 +188,9 @@ @@ -216,7 +207,7 @@
- Sectoor Logo + www.ukfast.net