Skip to content

Commit 72c125e

Browse files
committed
modify: script_name modify
1 parent dc73f78 commit 72c125e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Commands/Server/rewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
2828

2929
// All request handle by index.php file.
30-
$_SERVER['SCRIPT_NAME'] = 'index.php';
30+
$_SERVER['SCRIPT_NAME'] = '/index.php';
3131

3232
// Front Controller path - expected to be in the default folder
3333
$fcpath = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR;

0 commit comments

Comments
 (0)