From: Alan Knowles Date: Fri, 24 Aug 2018 07:10:32 +0000 (+0800) Subject: Process/Php7.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=10d8c401330fc0f887cac783209f133524c98d08 Process/Php7.php --- diff --git a/Process/Php7.php b/Process/Php7.php index 9e0b970a..6ec98f19 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -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;