Skip to content
Snippets Groups Projects
Commit d72b7c92 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Fix an issue with some PHP environments (mostly related to FastCGI or php-fpm,...

Fix an issue with some PHP environments (mostly related to FastCGI or php-fpm, common with nginx) where $_SERVER['SCRIPT_NAME'] is already populated with $_SERVER['PATH_INFO'] appended to it. In those cases, we should not blindly append PATH_INFO to SCRIPT_NAME, but check the latter first. This hopefully resolves #5 and closes #391.
parent 80777199
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment