/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/application/helpers/common_helper.php(5254)
5242 switch ($sUpdateNotificationType) 5243 { 5244 case 'stable': 5245 // Only show update if in stable (master) branch 5246 if (isset($aUpdateVersions['master'])) { 5247 $aUpdateVersion=$aUpdateVersions['master']; 5248 $aUpdateVersions=array_intersect_key($aUpdateVersions,array('master'=>'1')); 5249 } 5250 break; 5251 5252 case 'both': 5253 // Show first available update 5254 $aUpdateVersion=reset($aUpdateVersions); 5255 break; 5256 5257 default: 5258 // Never show a notification 5259 $aUpdateVersions=array(); 5260 break; 5261 } 5262 } 5263 5264 setGlobalSetting('updateversions',json_encode($aUpdateVersions)); 5265 5266
| #0 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/application/helpers/common_helper.php(5254): reset(false) 5249 } 5250 break; 5251 5252 case 'both': 5253 // Show first available update 5254 $aUpdateVersion=reset($aUpdateVersions); 5255 break; 5256 5257 default: 5258 // Never show a notification 5259 $aUpdateVersions=array(); |
| #1 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/application/controllers/AdminController.php(35): updateCheck() 30 $sUpdateLastCheck = getGlobalSetting('updatelastcheck'); 31 32 $this->_sessioncontrol(); 33 34 if (Yii::app()->getConfig('buildnumber') != "" && Yii::app()->getConfig('updatecheckperiod') > 0 && $sUpdateLastCheck < dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", "-". Yii::app()->getConfig('updatecheckperiod')." days")) 35 updateCheck(); 36 37 //unset(Yii::app()->session['FileManagerContext']); 38 App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . "admin_core.js"); 39 $this->user_id = Yii::app()->user->getId(); 40 if (!Yii::app()->getConfig("surveyid")) {Yii::app()->setConfig("surveyid", returnGlobal('sid'));} //SurveyID |
| #2 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/application/core/LSYii_Controller.php(41): AdminController->_init() 36 $this->loadLibrary('LS.LS'); 37 $this->loadHelper('globalsettings'); 38 $this->loadHelper('common'); 39 $this->loadHelper('expressions.em_manager'); 40 $this->loadHelper('replacements'); 41 $this->_init(); 42 } 43 44 /** 45 * Check that installation was already done by looking for config.php 46 * Will redirect to the installer script if not exists. |
| #3 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/framework/web/CWebApplication.php(359): LSYii_Controller->__construct("admin", null) 354 require($classFile); 355 if(class_exists($className,false) && is_subclass_of($className,'CController')) 356 { 357 $id[0]=strtolower($id[0]); 358 return array( 359 new $className($controllerID.$id,$owner===$this?null:$owner), 360 $this->parseActionParams($route), 361 ); 362 } 363 return null; 364 } |
| #4 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/framework/web/CWebApplication.php(276): CWebApplication->createController("admin") 271 * @param string $route the route of the current request. See {@link createController} for more details. 272 * @throws CHttpException if the controller could not be created. 273 */ 274 public function runController($route) 275 { 276 if(($ca=$this->createController($route))!==null) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); |
| #5 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin") 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. |
| #6 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/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 /** |
| #7 |
+
–
/home/sondages.pro/htdocs/clients/complets/obc/limesurvey/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 */ |