Update file editpage.php
This commit is contained in:
parent
7f3f32af95
commit
b27a487589
@ -32,7 +32,7 @@ if(isset($_GET['page']) && strpos($_GET['page'], "..") == false) {
|
||||
if (isset($_FILES['miniature']) && $_FILES['miniature']['error'] == 0 && isset($_GET['article'])) {
|
||||
// Chemins et noms de fichiers
|
||||
$tempPath = $_FILES['miniature']['tmp_name'];
|
||||
$path = '/src/miniature/'. $_SESSION['userid'] .'.png';
|
||||
$path = '/src/miniature/'. $_GET['article'] .'.png';
|
||||
$rootPath = $wwwroot . "/html" . $path;
|
||||
$webPath = $root . $path;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user