/home/survey/public_html/application/controllers/UploaderController.php(28)
16 */ 17 18 class UploaderController extends SurveyController 19 { 20 /** 21 * @param int $actionID 22 * @return void 23 */ 24 public function run($actionID) 25 { 26 $surveyid = Yii::app()->session['LEMsid']; 27 if (empty($surveyid)) { 28 throw new CHttpException(401, gT("We are sorry but your session has expired.")); 29 } 30 $oSurvey = Survey::model()->findByPk($surveyid); 31 if (!$oSurvey) { 32 throw new CHttpException(400); 33 } 34 35 $sLanguage = Yii::app()->session['survey_' . $surveyid]['s_lang'] ?? ""; 36 Yii::app()->setLanguage($sLanguage); 37 $uploaddir = Yii::app()->getConfig("uploaddir"); 38 $tempdir = Yii::app()->getConfig("tempdir"); 39 Yii::app()->loadHelper("database"); 40
#0 |
+
–
/home/survey/public_html/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): UploaderController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#1 |
+
–
/home/survey/public_html/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. 146 * This method overrides the parent implementation by registering additional core components. |
#2 |
+
–
/home/survey/public_html/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#3 |
+
–
/home/survey/public_html/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |