diff --git a/html/compte.php b/html/compte.php index e4aeb150..f25f820b 100644 --- a/html/compte.php +++ b/html/compte.php @@ -50,7 +50,7 @@ if (isset($_FILES['profile_picture']) && $_FILES['profile_picture']['error'] == // Chemins et noms de fichiers $tempPath = $_FILES['profile_picture']['tmp_name']; $path = '/src/pp/'. $_SESSION['userid'] .'.png'; - $rootPath = $wwwroot . "/home" . $path; + $rootPath = $wwwroot . "/html" . $path; $webPath = $root . $path; // Redimensionnement de l'image @@ -82,7 +82,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) { // Chemins et noms de fichiers $tempPath = $_FILES['banner']['tmp_name']; $path = 'src/pp/'. $_SESSION['userid'] .'.png'; - $rootPath = $wwwroot . "/home" . $path; + $rootPath = $wwwroot . "/html" . $path; $webPath = $root . $path; // Redimensionnement de l'image