projects
/
mdref
/
mdref
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
1b07c8b
)
open_basedir fix
author
Michael Wallner
<mike@php.net>
Fri, 20 Dec 2013 15:18:26 +0000
(16:18 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 20 Dec 2013 15:18:26 +0000
(16:18 +0100)
mdref/Finder.php
patch
|
blob
|
history
diff --git
a/mdref/Finder.php
b/mdref/Finder.php
index e5cb7fb68c16816a618ddcb285ffddd8e8ea5f82..26397ff316d8b243e97d751e95b5b2c0cd01b588 100644
(file)
--- a/
mdref/Finder.php
+++ b/
mdref/Finder.php
@@
-74,7
+74,7
@@
class Finder
*/
function glob(Path $path, $pattern, $flags = GLOB_BRACE) {
if (strlen($path->getBaseDir())) {
- return glob($path->getFullPath($pattern), $flags);
+ return glob($path->getFullPath($pattern), $flags)
?: array()
;
}
$glob = array();
foreach ($this->refs as $ref) {