From: Edward Date: Wed, 21 Nov 2018 09:25:36 +0000 (+0800) Subject: Process/Php7.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2a613ebccd3e25521828955c56c6059297d8f44e Process/Php7.php --- diff --git a/Process/Php7.php b/Process/Php7.php index 4ceefd6f..ce892b29 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -61,15 +61,13 @@ class Pman_Core_Process_Php7 extends Pman continue; } + if(empty($route)){ + continue; + } + try { - $cls = $d; - var_dump($d); - if(!empty($route)){ - $cls = implode('/', $route) . "/" . $d; - } - - require_once $cls; + require_once implode('/', $route) . "/" . $d; } catch (ErrorException $ex) { echo $ex->getMessage() . "\n";