/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CApplication.php(271)
259 return $this->_runtimePath; 260 } 261 } 262 263 /** 264 * Sets the directory that stores runtime files. 265 * @param string $path the directory that stores runtime files. 266 * @throws CException if the directory does not exist or is not writable 267 */ 268 public function setRuntimePath($path) 269 { 270 if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath)) 271 throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.', 272 array('{path}'=>$path))); 273 $this->_runtimePath=$runtimePath; 274 } 275 276 /** 277 * Returns the root directory that holds all third-party extensions. 278 * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'. 279 */ 280 public function getExtensionPath() 281 { 282 return Yii::getPathOfAlias('ext'); 283 }
#0 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CApplication.php(258): CApplication->setRuntimePath("/var/www/byzon.com/public_html/protected/runtime") 253 { 254 if($this->_runtimePath!==null) 255 return $this->_runtimePath; 256 else 257 { 258 $this->setRuntimePath($this->getBasePath().DIRECTORY_SEPARATOR.'runtime'); 259 return $this->_runtimePath; 260 } 261 } 262 263 /** |
#1 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/logging/CFileLogRoute.php(60): CApplication->getRuntimePath() 55 */ 56 public function init() 57 { 58 parent::init(); 59 if($this->getLogPath()===null) 60 $this->setLogPath(Yii::app()->getRuntimePath()); 61 } 62 63 /** 64 * @return string directory storing log files. Defaults to application runtime path. 65 */ |
#2 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/logging/CLogRouter.php(67): CFileLogRoute->init() 62 { 63 parent::init(); 64 foreach($this->_routes as $name=>$route) 65 { 66 $route=Yii::createComponent($route); 67 $route->init(); 68 $this->_routes[$name]=$route; 69 } 70 Yii::getLogger()->attachEventHandler('onFlush',array($this,'collectLogs')); 71 Yii::app()->attachEventHandler('onEndRequest',array($this,'processLogs')); 72 } |
#3 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CModule.php(388): CLogRouter->init() 383 if(!isset($config['enabled']) || $config['enabled']) 384 { 385 Yii::trace("Loading \"$id\" application component",'system.CModule'); 386 unset($config['enabled']); 387 $component=Yii::createComponent($config); 388 $component->init(); 389 return $this->_components[$id]=$component; 390 } 391 } 392 } 393 |
#4 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CModule.php(493): CModule->getComponent("log") 488 * Loads static application components. 489 */ 490 protected function preloadComponents() 491 { 492 foreach($this->preload as $id) 493 $this->getComponent($id); 494 } 495 496 /** 497 * Preinitializes the module. 498 * This method is called at the beginning of the module constructor. |
#5 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CApplication.php(146): CModule->preloadComponents() 141 $this->initSystemHandlers(); 142 $this->registerCoreComponents(); 143 144 $this->configure($config); 145 $this->attachBehaviors($this->behaviors); 146 $this->preloadComponents(); 147 148 $this->init(); 149 } 150 151 |
#6 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/YiiBase.php(127): CApplication->__construct("/var/www/byzon.com/public_html/protected/config/main.php") 122 * to the constructor of the application class. 123 * @return mixed the application instance 124 */ 125 public static function createApplication($class,$config=null) 126 { 127 return new $class($config); 128 } 129 130 /** 131 * Returns the application singleton, null if the singleton has not been created yet. 132 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#7 |
+
–
/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/var/www/byzon.com/public_html/protected/config/main.php") 095 * If not, the directory will be defaulted to 'protected'. 096 * @return CWebApplication 097 */ 098 public static function createWebApplication($config=null) 099 { 100 return self::createApplication('CWebApplication',$config); 101 } 102 103 /** 104 * Creates a console application instance. 105 * @param mixed $config application configuration. |
#8 |
+
–
/var/www/byzon.com/public_html/indexEJEPocyCT.php(18): YiiBase::createWebApplication("/var/www/byzon.com/public_html/protected/config/main.php") 13 14 defined ('YII_DEBUG') or define ('YII_DEBUG', true); 15 defined ('YII_TRACE_LEVEL') or define ('YII_TRACE_LEVEL', 3); 16 17 require_once (dirname (dirname (__FILE__)) . '/framework/yii-1.1.10.r3566/framework/yii.php'); 18 $app = Yii::createWebApplication (dirname(__FILE__).'/protected/config/main.php'); 19 20 // Error handlers. 21 $app->attachEventHandler ('onError', ['ErrorHandler','handleError']); 22 $app->attachEventHandler ('onException', ['ErrorHandler','handleException']); 23 register_shutdown_function (['ErrorHandler', 'handleFatalError']); |