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'; }