Skip to content

Commit d2a67b5

Browse files
committed
修正router
1 parent 3e392fe commit d2a67b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)