summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-07-21 15:08:02 +0000
committerxue <>2006-07-21 15:08:02 +0000
commita09f20e18289796f73ab795febc9dff542797ba1 (patch)
treeba21585df7911bb705e0bb72fce1acc4cc520843 /framework
parentc72a6d328f37bb6b5eaa5c7eeab6c06a1936255a (diff)
Removed redundant code.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/THttpRequest.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php
index 6cd11113..dbe410f4 100644
--- a/framework/Web/THttpRequest.php
+++ b/framework/Web/THttpRequest.php
@@ -162,27 +162,7 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar
}
if($this->getUrlFormat()==='Path' && ($pathInfo=trim($this->_pathInfo,'/'))!=='')
- {
- $paths=explode('/',$pathInfo);
- foreach($paths as $path)
- {
- if(($path=trim($path))!=='')
- {
- if(($pos=strpos($path,','))!==false)
- {
- $name=substr($path,0,$pos);
- $value=substr($path,$pos+1);
- if(($pos=strpos($name,'[]'))!==false)
- $getVariables[substr($name,0,$pos)][]=$value;
- else
- $getVariables[$name]=$value;
- }
- else
- $getVariables[$path]='';
- }
- }
$this->_items=array_merge($this->parseUrl(),$_POST);
- }
else
$this->_items=array_merge($_GET,$_POST);