Process/Php7.php
authorEdward <edward@roojs.com>
Wed, 21 Nov 2018 08:41:48 +0000 (16:41 +0800)
committerEdward <edward@roojs.com>
Wed, 21 Nov 2018 08:41:48 +0000 (16:41 +0800)
Process/Php7.php

index f226662..40bc09e 100644 (file)
@@ -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;