X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/8dc8b4bc884065eecec6ef0e544bf47734e69372..ab330a749db8c75b9a38a77536358be60a3e5163:/file.php?ds=sidebyside diff --git a/file.php b/file.php index 7916fb8..edf0199 100644 --- a/file.php +++ b/file.php @@ -102,7 +102,7 @@ if(isset($_GET['h']) && !empty($_GET['h'])) { require(JIRAFEAU_ROOT . 'lib/template/footer.php'); exit; } else { - if($key != $_POST['key']) { + if($key != md5($_POST['key'])) { header("HTTP/1.0 403 Forbidden"); require(JIRAFEAU_ROOT . 'lib/template/header.php');