/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/models/Template.php(161)
149 if($oTemplate->isStandard) 150 { 151 $oTemplate->name = (is_dir(Yii::app()->getConfig("standardtemplaterootdir").DIRECTORY_SEPARATOR.$sTemplateName))?$sTemplateName:'Default'; 152 $oTemplate->path = Yii::app()->getConfig("standardtemplaterootdir").DIRECTORY_SEPARATOR.$oTemplate->name; 153 } 154 else 155 { 156 $oTemplate->name = (is_dir(Yii::app()->getConfig("usertemplaterootdir").DIRECTORY_SEPARATOR.$sTemplateName))?$sTemplateName:'Default'; 157 $oTemplate->path = Yii::app()->getConfig("usertemplaterootdir").DIRECTORY_SEPARATOR.$oTemplate->name; 158 } 159 160 // The template configuration. 161 $oTemplate->config = simplexml_load_file($oTemplate->path.'/config.xml'); 162 $oTemplate->viewPath = $oTemplate->path.DIRECTORY_SEPARATOR.$oTemplate->config->engine->pstpldirectory.DIRECTORY_SEPARATOR; 163 164 $oTemplate->cssFramework = $oTemplate->config->engine->cssframework; 165 $oTemplate->packages = (array) $oTemplate->config->engine->packages->package; 166 167 return $oTemplate; 168 } 169 170 171 /** 172 * This function returns the complete URL path to a given template name 173 *
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/models/Template.php(161): simplexml_load_file("/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/upload/templ...") 156 $oTemplate->name = (is_dir(Yii::app()->getConfig("usertemplaterootdir").DIRECTORY_SEPARATOR.$sTemplateName))?$sTemplateName:'Default'; 157 $oTemplate->path = Yii::app()->getConfig("usertemplaterootdir").DIRECTORY_SEPARATOR.$oTemplate->name; 158 } 159 160 // The template configuration. 161 $oTemplate->config = simplexml_load_file($oTemplate->path.'/config.xml'); 162 $oTemplate->viewPath = $oTemplate->path.DIRECTORY_SEPARATOR.$oTemplate->config->engine->pstpldirectory.DIRECTORY_SEPARATOR; 163 164 $oTemplate->cssFramework = $oTemplate->config->engine->cssframework; 165 $oTemplate->packages = (array) $oTemplate->config->engine->packages->package; 166 |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/AdminController.php(47): Template::getTemplateConfiguration("skeletonquest") 42 if (!Yii::app()->getConfig("action")) {Yii::app()->setConfig("action", returnGlobal('action'));} //Desired action 43 if (!Yii::app()->getConfig("subaction")) {Yii::app()->setConfig("subaction", returnGlobal('subaction'));} //Desired subaction 44 if (!Yii::app()->getConfig("editedaction")) {Yii::app()->setConfig("editedaction", returnGlobal('editedaction'));} // for html editor integration 45 46 global $oTemplate; 47 $oTemplate = Template::model()->getTemplateConfiguration(Yii::app()->getConfig("defaulttemplate")); 48 } 49 50 /** 51 * Shows a nice error message to the world 52 * |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/core/LSYii_Controller.php(42): AdminController->_init() 37 // This will setConfig from database 38 $this->loadHelper('globalsettings'); 39 $this->loadHelper('common'); 40 $this->loadHelper('expressions.em_manager'); 41 $this->loadHelper('replacements'); 42 $this->_init(); 43 } 44 45 /** 46 * Check that installation was already done by looking for config.php 47 * Will redirect to the installer script if not exists. |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/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/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(276): CWebApplication->createController("admin/survey/sa/index") 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/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/index") 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/limesurvey_GIT/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/limesurvey_GIT/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 */ |