From: Edward Date: Wed, 21 Nov 2018 08:41:48 +0000 (+0800) Subject: Process/Php7.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a70479638a54fa72318c442acf5bdc98de235b56 Process/Php7.php --- 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;