From: Michael Gapczynski Date: Mon, 11 Feb 2013 22:55:44 +0000 (-0500) Subject: Remove the leading slash from the filename for opendir X-Git-Tag: v5.0.0beta1~23^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=808a13922c8bc002e697f3bbe84be70a2c715cf6;p=nextcloud-server.git Remove the leading slash from the filename for opendir --- diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php index 7396c7e3f27..f9bd4075f3e 100644 --- a/apps/files_external/lib/google.php +++ b/apps/files_external/lib/google.php @@ -268,7 +268,7 @@ class Google extends \OC\Files\Storage\Common { $name .= '.'.$extension; } } - $files[] = $name; + $files[] = basename($name); // Cache entry for future use $this->entries[$name] = $entry; }