From f5ea3a232636fa1f2cbe13b347f2e76c357865d8 Mon Sep 17 00:00:00 2001 From: lionel Date: Thu, 14 Jan 2021 12:01:47 +0100 Subject: [PATCH] Change root directory --- list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.php b/list.php index 22c068f..166241d 100644 --- a/list.php +++ b/list.php @@ -4,7 +4,7 @@ error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); -$root = "/var/www/html";//$_SERVER["DOCUMENT_ROOT"]; +$root = $_SERVER["DOCUMENT_ROOT"]; $directory = "/uploads/";