projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c2b458
)
Process/Php7.php
author
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 08:53:29 +0000
(16:53 +0800)
committer
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 08:53:29 +0000
(16:53 +0800)
Process/Php7.php
patch
|
blob
|
history
diff --git
a/Process/Php7.php
b/Process/Php7.php
index
dff9646
..
a8b224b
100644
(file)
--- a/
Process/Php7.php
+++ b/
Process/Php7.php
@@
-38,14
+38,14
@@
class Pman_Core_Process_Php7 extends Pman
echo "Looking for {$dir}\n";
echo "Looking for {$dir}\n";
- foreach (scandir(
implode('/', $dir)
) as $d) {
+ foreach (scandir(
$dir
) as $d) {
if (!strlen($d) || $d[0] == '.') {
continue;
}
if (is_dir($d)) {
if (!strlen($d) || $d[0] == '.') {
continue;
}
if (is_dir($d)) {
- $this->scan(array_merge($
dir, array($d)), array_merge($cls
, array($d)));
+ $this->scan(array_merge($
route
, array($d)));
continue;
}
continue;
}
@@
-53,7
+53,7
@@
class Pman_Core_Process_Php7 extends Pman
continue;
}
continue;
}
- require_once implode('/', $
cls
) . "/" . $d;
+ require_once implode('/', $
route
) . "/" . $d;
}
}