We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4ffe37 + 847487e commit 628faf1Copy full SHA for 628faf1
Services/FileManager.php
@@ -32,7 +32,7 @@ public function getFiles($options = array())
32
if (!is_array($dirs)) {
33
$dirs = array();
34
}
35
- $result = array_map(function($s) { return basename($s); }, $dirs);
+ $result = array_map(function($s) { return preg_replace('|^.+[\\/]|', '', $s); }, $dirs);
36
return $result;
37
38
else
0 commit comments