diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php index 4a42c6978bad7455c957f2ea3d543b9258a5ed13..9b0c2a36e0e4dcb9cf94739137d0f0501577ebf3 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -495,7 +495,7 @@ else // List content of directory ($newsection = '/', '/home', ...) if (! empty($conf->global->FTP_CONNECT_WITH_SFTP)) { - if ($newsection == '/') $newsection='/./'; # workaround for bug https://bugs.php.net/bug.php?id=64169 + if ($newsection == '/') $newsection='/./'; // workaround for bug https://bugs.php.net/bug.php?id=64169 //$dirHandle = opendir("ssh2.sftp://$conn_id".$newsection); //var_dump($dirHandle); $contents = scandir('ssh2.sftp://' . $conn_id . $newsection);