Skip to content
Snippets Groups Projects
Commit 53a9c93b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix PHPCS

parent 5d285bf5
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment