* finish task #1709.

This commit is contained in:
wyd621
2013-10-23 05:10:23 +00:00
parent cc183e4056
commit 33899c1bf5
6 changed files with 55 additions and 4 deletions

View File

@@ -854,10 +854,10 @@ class router
* Mostly, the var name of PATH_INFO is PATH_INFO, but may be ORIG_PATH_INFO.
*
* @param string $varName PATH_INFO, ORIG_PATH_INFO
* @access private
* @access public
* @return string the PATH_INFO
*/
private function getPathInfo($varName)
public function getPathInfo($varName)
{
$value = @getenv($varName);
if(isset($_SERVER[$varName])) $value = $_SERVER[$varName];