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