From 8c2b458013464370e112813466db40a1a70052d3 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 21 Nov 2018 16:53:11 +0800 Subject: [PATCH] Process/Php7.php --- Process/Php7.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Process/Php7.php b/Process/Php7.php index 44e7a164..dff9646d 100644 --- 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) { -- 2.39.2