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