Process/Php7.php
[Pman.Core] / Process / Php7.php
index 7250409..8733aa2 100644 (file)
@@ -35,7 +35,10 @@ class Pman_Core_Process_Php7 extends Pman
             ));
         });
         
-        $this->scan();
+        $this->scan(array("Pman"));
+        $this->scan(array("Hebe"));
+        
+        exit;
     }
     
     function scan($route = array()) 
@@ -59,14 +62,14 @@ class Pman_Core_Process_Php7 extends Pman
                 continue;
             }
             
-            if($d == 'Php7.php'){
+            if(empty($route)){
                 continue;
             }
-            print_r($d);
-//            require_once implode('/', $route) . "/" . $d;
             
             try {
+                
                 require_once implode('/', $route) . "/" . $d;
+                
             } catch (ErrorException $ex) {
                 echo $ex->getMessage() . "\n";
             }