[geeklog-cvs] geeklog-1.3/system/classes url.class.php,1.5,1.6
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Mon Jul 14 06:10:45 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/system/classes
In directory internal.geeklog.net:/tmp/cvs-serv585/classes
Modified Files:
url.class.php
Log Message:
$HTTP_SERVER_VARS['PATH_INFO'] seems to work more reliably than $PATH_INFO.
Index: url.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/classes/url.class.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** url.class.php 8 May 2002 18:26:07 -0000 1.5
--- url.class.php 14 Jul 2003 10:10:42 -0000 1.6
***************
*** 38,42 ****
* uglier http://www.example.com?arg1=value1&arg2=value2.
* NOTE: this does not currently work under windows as there is a well documented
! * but with IIS and PATH_INFO. Not sure yet if this will work with windows under
* apache. This was built so you could use this class and just disable it
* if you are an IIS user.
--- 38,42 ----
* uglier http://www.example.com?arg1=value1&arg2=value2.
* NOTE: this does not currently work under windows as there is a well documented
! * bug with IIS and PATH_INFO. Not sure yet if this will work with windows under
* apache. This was built so you could use this class and just disable it
* if you are an IIS user.
***************
*** 77,83 ****
function _getArguments()
{
! global $PATH_INFO;
! $this->_arguments = explode('/',$PATH_INFO);
array_shift($this->_arguments);
}
--- 77,83 ----
function _getArguments()
{
! global $HTTP_SERVER_VARS;
! $this->_arguments = explode('/',$HTTP_SERVER_VARS['PATH_INFO']);
array_shift($this->_arguments);
}
***************
*** 215,217 ****
}
! ?>
\ No newline at end of file
--- 215,217 ----
}
! ?>
More information about the geeklog-cvs
mailing list