/var/data/hosting/avenger1.1/avenger-library/AvengerSiteController.php(256)
244 245 if(strpos($file, ".php") === false && strpos($file, "/") === false) 246 { 247 header("Content-Type: application/force-download; name=\"".$file."\""); 248 header("Content-Disposition: attachment; filename=\"".$file."\""); 249 header("Content-Transfer-Encoding: binary"); 250 header("Expires: 0"); 251 header("Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0"); 252 header("Pragma: no-cache"); 253 header("Pragma: public"); 254 header("Content-Description: File Transfert"); 255 256 readfile("$filePath"); 257 } 258 } 259 260 public function actionContent() 261 { 262 $page = $this->avenger->getPage(); 263 264 Yii::app()->clientScript->scriptMap = array("jquery.js"=>false,"jquery-ui.js"=>false,"jquery.min.js"=>false,"jquery-ui.min.js"=>false); 265 266 $_GET["uniform"] = true; 267 268 $this->renderPartial($page->iDPageTemplate->Template."/main", array("page"=>$page), false, true);
#0 |
+
–
/var/data/hosting/avenger1.1/avenger-library/AvengerSiteController.php(256): readfile("/var/data2/hosting/udi-valais-ch/www/uploads/default/id-58-aide-...") 251 header("Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0"); 252 header("Pragma: no-cache"); 253 header("Pragma: public"); 254 header("Content-Description: File Transfert"); 255 256 readfile("$filePath"); 257 } 258 } 259 260 public function actionContent() 261 { |
#1 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3720): AvengerSiteController->actionDownload() 3715 $controller=$this->getController(); 3716 $method=new ReflectionMethod($controller, $methodName); 3717 if($method->getNumberOfParameters()>0) 3718 return $this->runWithParamsInternal($controller, $method, $params); 3719 else 3720 return $controller->$methodName(); 3721 } 3722 } 3723 class CWebUser extends CApplicationComponent implements IWebUser 3724 { 3725 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#2 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3223): CInlineAction->runWithParams(array("r" => "site/download", "h" => "id-58-aide-Covid-19-indemnisation-des-directeurs-des-societes-Ai...")) 3218 { 3219 $priorAction=$this->_action; 3220 $this->_action=$action; 3221 if($this->beforeAction($action)) 3222 { 3223 if($action->runWithParams($this->getActionParams())===false) 3224 $this->invalidActionParams($action); 3225 else 3226 $this->afterAction($action); 3227 } 3228 $this->_action=$priorAction; |
#3 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3208): CController->runAction(CInlineAction) 3203 $this->missingAction($actionID); 3204 } 3205 public function runActionWithFilters($action,$filters) 3206 { 3207 if(empty($filters)) 3208 $this->runAction($action); 3209 else 3210 { 3211 $priorAction=$this->_action; 3212 $this->_action=$action; 3213 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3198): CController->runActionWithFilters(CInlineAction, array()) 3193 { 3194 if(($parent=$this->getModule())===null) 3195 $parent=Yii::app(); 3196 if($parent->beforeControllerAction($this,$action)) 3197 { 3198 $this->runActionWithFilters($action,$this->filters()); 3199 $parent->afterControllerAction($this,$action); 3200 } 3201 } 3202 else 3203 $this->missingAction($actionID); |
#5 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1686): CController->run("download") 1681 { 1682 list($controller,$actionID)=$ca; 1683 $oldController=$this->_controller; 1684 $this->_controller=$controller; 1685 $controller->init(); 1686 $controller->run($actionID); 1687 $this->_controller=$oldController; 1688 } 1689 else 1690 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1691 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1606): CWebApplication->runController("site/download") 1601 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1602 $_GET[$name]=$value; 1603 } 1604 else 1605 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1606 $this->runController($route); 1607 } 1608 protected function registerCoreComponents() 1609 { 1610 parent::registerCoreComponents(); 1611 $components=array( |
#7 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1135): CWebApplication->processRequest() 1130 } 1131 public function run() 1132 { 1133 if($this->hasEventHandler('onBeginRequest')) 1134 $this->onBeginRequest(new CEvent($this)); 1135 $this->processRequest(); 1136 if($this->hasEventHandler('onEndRequest')) 1137 $this->onEndRequest(new CEvent($this)); 1138 } 1139 public function end($status=0, $exit=true) 1140 { |
#8 |
+
–
/var/data2/hosting/udi-valais-ch/www/index.php(11): CApplication->run() 06 07 // remove the following line when in production mode 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 10 require_once($yii); 11 Yii::createWebApplication($config)->run(); 12 13 ?> |