From 4aa51f4371b92c3eddb3173b52d37e5135661284 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 27 Jan 2019 17:41:24 +0100 Subject: [PATCH] Set default file manager path to /www/ --- var/www/html/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/html/files.php b/var/www/html/files.php index 3da522f..3303a68 100644 --- a/var/www/html/files.php +++ b/var/www/html/files.php @@ -101,7 +101,7 @@ if(!empty($_REQUEST['path'])){ $dir=str_replace('..', '\.\.', $dir); $dir=preg_replace('~//+~', '/', $dir); }else{ - $dir='/'; + $dir='/www/'; } if(@!ftp_chdir($ftp, $dir)){ $dir=rtrim($dir, '/');