From 7ff5a0dad786d3bcb80d3ccad3044cac3dda8955 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Tue, 6 Aug 2024 06:50:31 -0400 Subject: [PATCH] feat: Update image file path in index.php --- src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.php b/src/index.php index 7157b24..bc0e5a6 100644 --- a/src/index.php +++ b/src/index.php @@ -9,7 +9,7 @@ $mysql_dbname = $_ENV["MYSQL_DBNAME"]; if (isset($_GET["img"])) { if (CHECK_USER_LOGADO()) { - $name = '/fotos/' . $_GET["img"] . '.jpg'; + $name = 'uploads/fotos/' . $_GET["img"] . '.jpg'; if (!file_exists($name)) { $name = 'static/img/avatar_1.png'; }