Skip to content

Commit 80cb2f4

Browse files
committed
修正Think类
1 parent 72a9237 commit 80cb2f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ThinkPHP/Lib/Core/Think.class.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ static private function buildApp() {
9797
);
9898
}
9999

100+
foreach ($list as $file){
101+
if(is_file($file)) {
102+
require_cache($file);
103+
if(!APP_DEBUG) $compile .= compile($file);
104+
}
105+
}
106+
100107
// 加载模式别名定义
101108
if(isset($mode['alias'])) {
102109
$alias = is_array($mode['alias'])?$mode['alias']:include $mode['alias'];

0 commit comments

Comments
 (0)