Set default file manager path to /www/

This commit is contained in:
Daniel Winzen
2019-01-27 17:41:24 +01:00
parent 9c5294e64e
commit 4aa51f4371

View File

@ -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, '/');