projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a295d7a
)
Process/Php7.php
author
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 09:14:22 +0000
(17:14 +0800)
committer
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 09:14:22 +0000
(17:14 +0800)
Process/Php7.php
patch
|
blob
|
history
diff --git
a/Process/Php7.php
b/Process/Php7.php
index
b61c3e2
..
173d1de
100644
(file)
--- a/
Process/Php7.php
+++ b/
Process/Php7.php
@@
-59,14
+59,15
@@
class Pman_Core_Process_Php7 extends Pman
continue;
}
- if($d == 'Php7.php'){
- continue;
- }
- var_dump($d);
-// require_once implode('/', $route) . "/" . $d;
-
try {
- require_once implode('/', $route) . "/" . $d;
+
+ if(!empty($route)){
+ require_once implode('/', $route) . "/" . $d;
+ continue;
+ }
+
+ require_once $d;
+
} catch (ErrorException $ex) {
echo $ex->getMessage() . "\n";
}