Skip to content

Commit ebb8fec

Browse files
committed
Fix for #208
1 parent 919e820 commit ebb8fec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,6 +2157,7 @@ public function __construct($config) {
21572157
$request = isset($_SERVER['PATH_INFO'])?$_SERVER['PATH_INFO']:'';
21582158
if (!$request) {
21592159
$request = isset($_SERVER['ORIG_PATH_INFO'])?$_SERVER['ORIG_PATH_INFO']:'';
2160+
$request = $request!=$_SERVER['SCRIPT_NAME']?$request:'';
21602161
}
21612162
}
21622163
if (!$get) {

0 commit comments

Comments
 (0)