File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 15
15
// +----------------------------------------------------------------------
16
16
17
17
// 应用调试模式
18
- 'app_debug ' => true ,
18
+ 'app_debug ' => false ,
19
19
// 应用Trace
20
20
'app_trace ' => false ,
21
21
// 应用模式状态
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " >=5.4.0" ,
20
- "topthink/framework" : " ^5.0"
20
+ "topthink/framework" : " ~5.0.0"
21
+ },
22
+ "autoload" : {
23
+ "psr-4" : {
24
+ "app\\ " : " application"
25
+ }
21
26
},
22
27
"extra" : {
23
28
"think-path" : " thinkphp"
Original file line number Diff line number Diff line change 13
13
if (is_file ($ _SERVER ["DOCUMENT_ROOT " ] . $ _SERVER ["REQUEST_URI " ])) {
14
14
return false ;
15
15
} else {
16
+ if (!isset ($ _SERVER ['PATH_INFO ' ])) {
17
+ $ _SERVER ['PATH_INFO ' ] = $ _SERVER ['REQUEST_URI ' ];
18
+ }
16
19
require __DIR__ . "/index.php " ;
17
20
}
You can’t perform that action at this time.
0 commit comments