/srv/www/survey/survey1/application/models/Template.php(322)
310 * Touch each directory in standard template directory to force assset manager to republish them 311 */ 312 public static function forceAssets() 313 { 314 // Don't touch symlinked assets because it won't work 315 if (App()->getAssetManager()->linkAssets) return; 316 $standardTemplatesPath = Yii::app()->getConfig("standardtemplaterootdir").DIRECTORY_SEPARATOR; 317 $Resource = opendir($standardTemplatesPath); 318 while ($Item = readdir($Resource)) 319 { 320 if (is_dir($standardTemplatesPath . $Item) && $Item != "." && $Item != "..") 321 { 322 touch($standardTemplatesPath . $Item); 323 } 324 } 325 } 326 }
#0 |
+
–
/srv/www/survey/survey1/application/models/Template.php(322): touch("/srv/www/survey/survey1/templates/ubuntu_orange") 317 $Resource = opendir($standardTemplatesPath); 318 while ($Item = readdir($Resource)) 319 { 320 if (is_dir($standardTemplatesPath . $Item) && $Item != "." && $Item != "..") 321 { 322 touch($standardTemplatesPath . $Item); 323 } 324 } 325 } 326 } |
#1 |
+
–
/srv/www/survey/survey1/application/models/UpdateForm.php(377): Template::forceAssets() 372 { 373 // Don't touch symlinked assets because it won't work 374 if (App()->getAssetManager()->linkAssets) return; 375 376 // Republish the assets 377 Template::model()->forceAssets(); 378 AdminTheme::forceAssets(); 379 380 // Delete all the content in the asset directory, but not the directory itself nor the index.html file at its root ^^ 381 $sAssetsDir = Yii::app()->getConfig('tempdir') . '/assets/'; 382 $dir = dir($sAssetsDir); |
#2 |
+
–
/srv/www/survey/survey1/application/models/UpdateForm.php(589): UpdateForm->republishAssets() 584 $iAssetVersionNumber = Yii::app()->getConfig('assetsversionnumber'); // From version.php 585 $iCurrentAssetVersion = GetGlobalSetting('AssetsVersion'); // From setting_global table 586 587 if ( $iAssetVersionNumber != $iCurrentAssetVersion ) 588 { 589 self::republishAssets(); 590 setGlobalSetting('AssetsVersion',$iAssetVersionNumber); 591 App()->getController()->redirect(array("admin/")); 592 } 593 return false; 594 } |
#3 |
+
–
/srv/www/survey/survey1/application/models/UpdateForm.php(607): UpdateForm->checkAssets() 602 * @access protected 603 * @return mixed 604 */ 605 public function getUpdateNotification() 606 { 607 $this->checkAssets(); 608 if(Yii::app()->getConfig('updatable') && Permission::model()->hasGlobalPermission('superadmin') ) 609 { 610 $today = new DateTime("now"); 611 $next_update_check = Yii::app()->session['next_update_check']; 612 |
#4 |
+
–
/srv/www/survey/survey1/framework/base/CComponent.php(111): UpdateForm->getUpdateNotification() 106 */ 107 public function __get($name) 108 { 109 $getter='get'.$name; 110 if(method_exists($this,$getter)) 111 return $this->$getter(); 112 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 113 { 114 // duplicating getEventHandlers() here for performance 115 $name=strtolower($name); 116 if(!isset($this->_e[$name])) |
#5 |
+
–
/srv/www/survey/survey1/application/core/Survey_Common_Action.php(541): CComponent->__get("updateNotification") 536 537 $aData['dataForConfigMenu']['activetokens'] = $activetokens; 538 $aData['sitename'] = Yii::app()->getConfig("sitename"); 539 540 $updateModel = new UpdateForm(); 541 $updateNotification = $updateModel->updateNotification; 542 $aData['showupdate'] = Yii::app()->getConfig('updatable') && $updateNotification->result && ! $updateNotification->unstable_update ; 543 544 // Fetch extra menus from plugins, e.g. last visited surveys 545 $aData['extraMenus'] = $this->fetchExtraMenus($aData); 546 |
#6 |
+
–
/srv/www/survey/survey1/application/core/Survey_Common_Action.php(247): Survey_Common_Action->_showadminmenu(array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Test FCY survey(ID:24887)", "surveyUrl" => "/index.php?r=admin/survey/sa/view/surveyid/24887", ...)) 242 243 244 ob_start(); //// That was used before the MVC pattern, in procedural code. Will not be used anymore. 245 246 $this->_showHeaders($aData); //// THe headers will be called from the layout 247 $this->_showadminmenu($aData); //// The admin menu will be called from the layout, probably as a widget for dynamic content. 248 $this->_userGroupBar($aData); 249 250 //// Here will start the rendering from the controller of the main view. 251 //// For example, the Group controller will use the main.php layout, and then render the view list_group.php 252 //// This view will call as a subview the questiongroupbar, and then _listquestiongroup subview. |
#7 |
+
–
/srv/www/survey/survey1/application/controllers/admin/index.php(93): Survey_Common_Action->_renderWrappedTemplate("super", "welcome", array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Test FCY survey(ID:24887)", "surveyUrl" => "/index.php?r=admin/survey/sa/view/surveyid/24887", ...)) 88 $aData['bShowLogo'] = (getGlobalSetting('show_logo')=="show"); 89 $aData['oSurveySearch'] = new Survey('search'); 90 $aData['bShowLastSurveyAndQuestion'] = (getGlobalSetting('show_last_survey_and_question')=="show"); 91 $aData['iBoxesByRow']=(int) getGlobalSetting('boxes_by_row'); 92 $aData['sBoxesOffSet']=(string) getGlobalSetting('boxes_offset'); 93 $this->_renderWrappedTemplate('super', 'welcome', $aData); 94 } 95 96 } |
#8 |
unknown(0): Index->run()
|
#9 |
+
–
/srv/www/survey/survey1/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Index, array()) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#10 |
+
–
/srv/www/survey/survey1/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(Index, ReflectionMethod, array("r" => "admin")) 096 $oMethod = new ReflectionMethod($this, $sDefault); 097 } 098 099 // We're all good to go, let's execute it 100 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 101 return parent::runWithParamsInternal($this, $oMethod, $params); 102 } 103 104 /** 105 * Some functions have different parameters, which are just an alias of the 106 * usual parameters we're getting in the url. This function just populates |
#11 |
+
–
/srv/www/survey/survey1/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#12 |
+
–
/srv/www/survey/survey1/framework/web/CController.php(286): CController->runAction(Index) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#13 |
+
–
/srv/www/survey/survey1/framework/web/CController.php(265): CController->runActionWithFilters(Index, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#14 |
+
–
/srv/www/survey/survey1/application/controllers/AdminController.php(177): CController->run("") 172 $this->redirect(array('/admin/authentication/sa/login')); 173 } 174 175 } 176 177 return parent::run($action); 178 } 179 180 /** 181 * Routes all the actions to their respective places 182 * |
#15 |
+
–
/srv/www/survey/survey1/framework/web/CWebApplication.php(282): AdminController->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))); |
#16 |
+
–
/srv/www/survey/survey1/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. |
#17 |
+
–
/srv/www/survey/survey1/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 /** |
#18 |
+
–
/srv/www/survey/survey1/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |