/home/www/demonstrations/master.sondages.pro/htdocs/third_party/twig/twig/src/Loader/FilesystemLoader.php(40)
28 protected $cache = []; 29 protected $errorCache = []; 30 31 private $rootPath; 32 33 /** 34 * @param string|array $paths A path or an array of paths where to look for templates 35 * @param string|null $rootPath The root path common to all relative paths (null for getcwd()) 36 */ 37 public function __construct($paths = [], $rootPath = null) 38 { 39 $this->rootPath = (null === $rootPath ? getcwd() : $rootPath).\DIRECTORY_SEPARATOR; 40 if (false !== $realPath = realpath($rootPath)) { 41 $this->rootPath = $realPath.\DIRECTORY_SEPARATOR; 42 } 43 44 if ($paths) { 45 $this->setPaths($paths); 46 } 47 } 48 49 /** 50 * Returns the paths to the templates. 51 * 52 * @param string $namespace A path namespace
#0 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/twig/twig/src/Loader/FilesystemLoader.php(40): realpath(null) 35 * @param string|null $rootPath The root path common to all relative paths (null for getcwd()) 36 */ 37 public function __construct($paths = [], $rootPath = null) 38 { 39 $this->rootPath = (null === $rootPath ? getcwd() : $rootPath).\DIRECTORY_SEPARATOR; 40 if (false !== $realPath = realpath($rootPath)) { 41 $this->rootPath = $realPath.\DIRECTORY_SEPARATOR; 42 } 43 44 if ($paths) { 45 $this->setPaths($paths); |
#1 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/yiiext/twig-renderer/ETwigViewRenderer.php(86): Twig\Loader\FilesystemLoader->__construct(array("/home/www/demonstrations/master.sondages.pro/htdocs/application")) 81 $this->_paths[] = $theme->getBasePath(); 82 } 83 84 $this->_paths[] = $app->getBasePath(); 85 86 $loader = new Twig_Loader_Filesystem($this->_paths); 87 88 $defaultOptions = array( 89 'autoescape' => false, // false because other way Twig escapes all HTML in templates 90 'auto_reload' => true, 91 'cache' => $app->getRuntimePath() . '/twig_cache/', |
#2 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/yiisoft/yii/framework/base/CModule.php(394): ETwigViewRenderer->init() 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } 399 |
#3 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/yiisoft/yii/framework/base/CModule.php(530): CModule->getComponent("ETwigViewRenderer") 525 * Loads static application components. 526 */ 527 protected function preloadComponents() 528 { 529 foreach($this->preload as $id) 530 $this->getComponent($id); 531 } 532 533 /** 534 * Preinitializes the module. 535 * This method is called at the beginning of the module constructor. |
#4 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/yiisoft/yii/framework/base/CApplication.php(168): CModule->preloadComponents() 163 $this->initSystemHandlers(); 164 $this->registerCoreComponents(); 165 166 $this->configure($config); 167 $this->attachBehaviors($this->behaviors); 168 $this->preloadComponents(); 169 170 $this->init(); 171 } 172 173 |
#5 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/application/core/LSYii_Application.php(90): CApplication->__construct(array("name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", "modules" => array("HelloWorld" => array("class" => "modules.root.HelloWorld.HelloWorldModule")), ...)) 85 if (array_key_exists('use_custom_twig_extensions', $baseConfig) && $baseConfig ['use_custom_twig_extensions']) { 86 $aApplicationConfig = $this->getTwigCustomExtensionsConfig($baseConfig['usertwigextensionrootdir'], $aApplicationConfig); 87 } 88 89 /* Construct CWebApplication */ 90 parent::__construct($aApplicationConfig); 91 92 /* Because we have app now : we have to call again the config (usage of Yii::app() for publicurl) */ 93 $this->setConfigs(); 94 /* Since session can be set by DB : need to be set again … */ 95 $this->setSessionByDB($aApplicationConfig); |
#6 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/third_party/yiisoft/yii/framework/YiiBase.php(132): LSYii_Application->__construct(array("basePath" => "/home/www/demonstrations/master.sondages.pro/htdocs/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...)) 127 * to the constructor of the application class. 128 * @return mixed the application instance 129 */ 130 public static function createApplication($class,$config=null) 131 { 132 return new $class($config); 133 } 134 135 /** 136 * Returns the application singleton or null if the singleton has not been created yet. 137 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#7 |
+
–
/home/www/demonstrations/master.sondages.pro/htdocs/index.php(192): YiiBase::createApplication("LSYii_Application", array("basePath" => "/home/www/demonstrations/master.sondages.pro/htdocs/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...)) 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |