Update file editpage.php
This commit is contained in:
parent
dbab7a96e3
commit
fe14cdf525
@ -24,7 +24,7 @@ if(isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT))
|
||||
}
|
||||
|
||||
if(isset($_GET['page']) && strpos($_GET['page'], "..") == false) {
|
||||
if(file_exists($repertoire . "content/" . $_GET['page'] . ".md";)){
|
||||
if(file_exists($repertoire . "content/" . $_GET['page'] . ".md")){
|
||||
$fichier = $repertoire . "content/" . $_GET['page'] . ".md";
|
||||
$filename = $_GET['page'];
|
||||
$filetype = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user