/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CHttpRequest.php(478)
466 $baseUrl=$this->getBaseUrl(); 467 if(strpos($pathInfo,$scriptUrl)===0) 468 $pathInfo=substr($pathInfo,strlen($scriptUrl)); 469 elseif($baseUrl==='' || strpos($pathInfo,$baseUrl)===0) 470 $pathInfo=substr($pathInfo,strlen($baseUrl)); 471 elseif(strpos($_SERVER['PHP_SELF'],$scriptUrl)===0) 472 $pathInfo=substr($_SERVER['PHP_SELF'],strlen($scriptUrl)); 473 else 474 throw new CException(Yii::t('yii','CHttpRequest is unable to determine the path info of the request.')); 475 476 if($pathInfo==='/') 477 $pathInfo=''; 478 elseif($pathInfo[0]==='/') 479 $pathInfo=substr($pathInfo,1); 480 481 if(($posEnd=strlen($pathInfo)-1)>0 && $pathInfo[$posEnd]==='/') 482 $pathInfo=substr($pathInfo,0,$posEnd); 483 484 $this->_pathInfo=$pathInfo; 485 } 486 return $this->_pathInfo; 487 } 488 489 /** 490 * Decodes the path info.
#0 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CUrlManager.php(364): CHttpRequest->getPathInfo() 359 */ 360 public function parseUrl($request) 361 { 362 if($this->getUrlFormat()===self::PATH_FORMAT) 363 { 364 $rawPathInfo=$request->getPathInfo(); 365 $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix); 366 foreach($this->_rules as $i=>$rule) 367 { 368 if(is_array($rule)) 369 $this->_rules[$i]=$rule=Yii::createComponent($rule); |
#1 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CWebApplication.php(140): CUrlManager->parseUrl(LSHttpRequest) 135 $route=$this->catchAllRequest[0]; 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. |
#2 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#3 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/index.php(211): CApplication->run() 206 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 207 } 208 } 209 210 Yii::$enableIncludePath = false; 211 Yii::createApplication('LSYii_Application', $config)->run(); 212 213 /* End of file index.php */ 214 /* Location: ./index.php */ |