Set default file manager path to /www/
This commit is contained in:
@ -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, '/');
|
||||
|
Reference in New Issue
Block a user