Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-12 09:08:55 +00:00
parent 3a3e18d573
commit c744e81a32

View File

@ -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;