projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f52b651
)
Process/Php7.php
author
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 09:25:36 +0000
(17:25 +0800)
committer
Edward
<edward@roojs.com>
Wed, 21 Nov 2018 09:25:36 +0000
(17:25 +0800)
Process/Php7.php
patch
|
blob
|
history
diff --git
a/Process/Php7.php
b/Process/Php7.php
index
4ceefd6
..
ce892b2
100644
(file)
--- a/
Process/Php7.php
+++ b/
Process/Php7.php
@@
-61,15
+61,13
@@
class Pman_Core_Process_Php7 extends Pman
continue;
}
continue;
}
+ if(empty($route)){
+ continue;
+ }
+
try {
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";
} catch (ErrorException $ex) {
echo $ex->getMessage() . "\n";