Last modified: 2010-05-15 15:38:32 UTC
SCRIPT_NAME is unfortunately set to the php binary's name when running under php-cgi mode. PHP_SELF, however always returns the name of the script and seems to work under both php-cgi and apache-mode php. Patch is attached.
Created attachment 558 [details] patch to use PHP_SELF instead of SCRIPT_NAME patch to use PHP_SELF instead of SCRIPT_NAME
Seems fixed in the current CVS HEAD.