From 30a5b887f49cf1c7c74608703e5a2ad9c3664968 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Tue, 12 Mar 2024 09:02:41 +0000 Subject: [PATCH] Update file compte.php --- html/compte.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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