Process/Php7.php
authorAlan Knowles <alan@roojs.com>
Fri, 24 Aug 2018 07:10:32 +0000 (15:10 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Aug 2018 07:10:32 +0000 (15:10 +0800)
Process/Php7.php

index 9e0b970..6ec98f1 100644 (file)
@@ -26,10 +26,8 @@ class Pman_Core_Process_Php7 extends Pman
     
     function get($base, $opts = array())
     {
-        $base = realpath($this->rootDir);
-        var_dump($base);
-        exit;
-        $this->scan($base, '');
+        
+        $this->scan($this->rootDir, 'Pman');
     }
     
     function scan($p,$pr, $path=false) {
@@ -65,7 +63,7 @@ class Pman_Core_Process_Php7 extends Pman
                 $clp[] = preg_replace('/\.php$/','', $d);
                 
                 //print_r("CLP:          " . implode('/', $clp)."\n");
-                var_dump(implode('/', $clp ));
+                require_once "Pman/". implode('/', $clp ). '.php';
                 continue;
             }
             $clp[] = $d;