Update file compte.php
This commit is contained in:
parent
3a3e18d573
commit
c744e81a32
@ -85,7 +85,7 @@ if (isset($_FILES['profile_picture']) && $_FILES['profile_picture']['error'] ==
|
||||
if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
|
||||
// Chemins et noms de fichiers
|
||||
$tempPath = $_FILES['banner']['tmp_name'];
|
||||
$path = '/src/pp/'. $_SESSION['userid'] .'.png';
|
||||
$path = '/src/banner/'. $_SESSION['userid'] .'.png';
|
||||
$rootPath = $wwwroot . "/html" . $path;
|
||||
$webPath = $root . $path;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user