Skip to content

Commit 6930c25

Browse files
committed
Merge branch 'master' of https://github.com/top-think/think
2 parents 7ea464c + 748036b commit 6930c25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
ThinkPHP遵循Apache2开源协议发布,并提供免费使用。
3-
版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn)
3+
版权所有Copyright © 2006-2017 by ThinkPHP (http://thinkphp.cn)
44
All rights reserved。
55
ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。
66

public/router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// +----------------------------------------------------------------------
1111
// $Id$
1212

13-
if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["REQUEST_URI"])) {
13+
if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) {
1414
return false;
1515
} else {
1616
if (!isset($_SERVER['PATH_INFO'])) {

0 commit comments

Comments
 (0)