more quote identeiifers fixessss
[Pman.Core] / Process / Php7.php
index d19b2eb..608107d 100644 (file)
@@ -36,7 +36,7 @@ class Pman_Core_Process_Php7 extends Pman
         });
         
         $this->scan(array("Pman"));
-        $this->scan(array("Hebe"));
+        $this->scan(array($this->bootLoader->project));
         
         exit;
     }
@@ -45,16 +45,13 @@ class Pman_Core_Process_Php7 extends Pman
     {
         $dir = $this->rootDir . "/" . implode("/", $route);
         
-        echo "Looking for {$dir}\n";
-        
         foreach (scandir($dir) as $d) {
             
             if (!strlen($d) || $d[0] == '.') {
                 continue;
             }
             
-            if (is_dir($d)) {
-                echo "directory : {$d}\n";
+            if (is_dir("{$dir}/{$d}")) {
                 $this->scan(array_merge($route, array($d)));
                 continue;
             }