Update 2 files
- /html/editpage.php - /html/admin.php
This commit is contained in:
parent
aefe27a83e
commit
dbab7a96e3
@ -46,6 +46,7 @@ if(isset($_SESSION['userid']) == false) {
|
||||
<div>
|
||||
<div>
|
||||
<div><a href="upload.php">Publier un article</a></div>
|
||||
<div><a href="editpage.php">Editer une page</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -16,7 +16,7 @@ if(isset($_SESSION['userid']) == false) {
|
||||
}
|
||||
|
||||
if(isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
|
||||
if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md";)){
|
||||
if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md")){
|
||||
$fichier = $repertoire . "content/journal/" . $_GET['article'] . ".md";
|
||||
$filename = $_GET['article'];
|
||||
$filetype = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user