From a70479638a54fa72318c442acf5bdc98de235b56 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 21 Nov 2018 16:41:48 +0800 Subject: [PATCH] Process/Php7.php --- Process/Php7.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Process/Php7.php b/Process/Php7.php index f2266628..40bc09e7 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -30,13 +30,13 @@ class Pman_Core_Process_Php7 extends Pman // $this->scan($this->rootDir, 'Pman'); $this->scan($dir, $cls); - - } - function scan($dir) + function scan($dir, $cls) { - foreach (scandir($dir) as $d) { + + + foreach (scandir(implode('/', $dir)) as $d) { if (!strlen($d) || $d[0] == '.') { continue; -- 2.39.2