From 5dbda3a6a0a75d0d9dc99a319fb2af4d8a7cdb19 Mon Sep 17 00:00:00 2001 From: Yasder5 <102179445+Yasder5@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:23:50 +0100 Subject: [PATCH] aaaaaaaaaaaaaaaaaaaaaaaaaa --- .env | 3 ++- controllers/project_controller.php | 1 + views/project_display.tpl | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 759b611..312e8f9 100644 --- a/.env +++ b/.env @@ -6,4 +6,5 @@ DB_DATABASE=projet_folliow DB_USERNAME= DB_PASSWORD= -IMG_PATH= uploads/projects/ \ No newline at end of file +IMG_PROJECT_PATH = uploads/projects/ +IMG_USER_PATH = uploads/profiles/ \ No newline at end of file diff --git a/controllers/project_controller.php b/controllers/project_controller.php index a354734..60941e6 100644 --- a/controllers/project_controller.php +++ b/controllers/project_controller.php @@ -265,6 +265,7 @@ $objProject->hydrate($arrProject); $this->_arrData["objProject"] = $objProject; + $this->_arrData["arrProject"] = $arrProject; $this->_display("project_display"); } else { header("Location: index.php?ctrl=project&action=home"); diff --git a/views/project_display.tpl b/views/project_display.tpl index 1fe6866..046b5c3 100644 --- a/views/project_display.tpl +++ b/views/project_display.tpl @@ -22,7 +22,7 @@

-
@@ -59,7 +59,7 @@
-