/var/www/m.tn.kz/framework/base/CModule.php(513)
501 $this->setComponent($id,$component,$merge); 502 } 503 504 /** 505 * Configures the module with the specified configuration. 506 * @param array $config the configuration array 507 */ 508 public function configure($config) 509 { 510 if(is_array($config)) 511 { 512 foreach($config as $key=>$value) 513 $this->$key=$value; 514 } 515 } 516 517 /** 518 * Loads static application components. 519 */ 520 protected function preloadComponents() 521 { 522 foreach($this->preload as $id) 523 $this->getComponent($id); 524 } 525
#0 |
+
–
/var/www/m.tn.kz/framework/base/CComponent.php(152): CApplication->setRuntimePath("/var/www/m.tn.kz/www/protected/config/../runtime/") 147 */ 148 public function __set($name,$value) 149 { 150 $setter='set'.$name; 151 if(method_exists($this,$setter)) 152 return $this->$setter($value); 153 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 154 { 155 // duplicating getEventHandlers() here for performance 156 $name=strtolower($name); 157 if(!isset($this->_e[$name])) |
#1 |
+
–
/var/www/m.tn.kz/framework/base/CModule.php(513): CComponent->__set("runtimePath", "/var/www/m.tn.kz/www/protected/config/../runtime/") 508 public function configure($config) 509 { 510 if(is_array($config)) 511 { 512 foreach($config as $key=>$value) 513 $this->$key=$value; 514 } 515 } 516 517 /** 518 * Loads static application components. |
#2 |
+
–
/var/www/m.tn.kz/framework/base/CApplication.php(150): CModule->configure(array("runtimePath" => "/var/www/m.tn.kz/www/protected/config/../runtime/", "id" => "tengri-mobile", "name" => "Tengrinews.kz", "defaultController" => "site", ...)) 145 $this->preinit(); 146 147 $this->initSystemHandlers(); 148 $this->registerCoreComponents(); 149 150 $this->configure($config); 151 $this->attachBehaviors($this->behaviors); 152 $this->preloadComponents(); 153 154 $this->init(); 155 } |
#3 |
+
–
/var/www/m.tn.kz/framework/YiiBase.php(125): CApplication->__construct("/var/www/m.tn.kz/www/protected/config/common.php") 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#4 |
+
–
/var/www/m.tn.kz/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/var/www/m.tn.kz/www/protected/config/common.php") 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
#5 |
+
–
/var/www/m.tn.kz/www/index.php(13): YiiBase::createWebApplication("/var/www/m.tn.kz/www/protected/config/common.php") 08 09 // remove the following line when in production mode 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 require_once 'protected/extensions/vendor/autoload.php'; 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |