Process/Php7.php
[Pman.Core] / Process / Php7.php
index 034b339..836b62f 100644 (file)
@@ -36,7 +36,7 @@ class Pman_Core_Process_Php7 extends Pman
         });
         
         $this->scan(array("Pman"));
-        $this->scan(array("Hebe"));
+//        $this->scan(array("Hebe"));
         
         exit;
     }
@@ -53,8 +53,7 @@ class Pman_Core_Process_Php7 extends Pman
                 continue;
             }
             
-            if (is_dir($d)) {
-                echo "directory : {$d}\n";
+            if (is_dir("{$dir}/{$d}")) {
                 $this->scan(array_merge($route, array($d)));
                 continue;
             }
@@ -63,10 +62,6 @@ class Pman_Core_Process_Php7 extends Pman
                 continue;
             }
             
-            if(empty($route)){
-                continue;
-            }
-            
             try {
                 
                 require_once implode('/', $route) . "/" . $d;