Update file compte.php

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

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/pp/'. $_SESSION['userid'] .'.png';
$rootPath = $wwwroot . "/html" . $path;
$webPath = $root . $path;