/home1/skipgrid/public_html/framework/YiiBase.php(400)
388 } 389 390 /** 391 * Class autoload loader. 392 * This method is provided to be invoked within an __autoload() magic method. 393 * @param string $className class name 394 * @return boolean whether the class has been loaded successfully 395 */ 396 public static function autoload($className) 397 { 398 // use include so that the error PHP file may appear 399 if(isset(self::$_coreClasses[$className])) 400 include(YII_PATH.self::$_coreClasses[$className]); 401 else if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 else 404 { 405 // include class file relying on include_path 406 if(strpos($className,'\\')===false) // class without namespace 407 { 408 if(self::$enableIncludePath===false) 409 { 410 foreach(self::$_includePaths as $path) 411 { 412 $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';
#0 |
+
–
/home1/skipgrid/public_html/framework/YiiBase.php(400): include() 395 */ 396 public static function autoload($className) 397 { 398 // use include so that the error PHP file may appear 399 if(isset(self::$_coreClasses[$className])) 400 include(YII_PATH.self::$_coreClasses[$className]); 401 else if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 else 404 { 405 // include class file relying on include_path |
#1 |
+
–
/home1/skipgrid/public_html/framework/YiiBase.php(301): YiiBase::autoload("CHttpRequest") 296 array('{alias}'=>$namespace))); 297 } 298 299 if(($pos=strrpos($alias,'.'))===false) // a simple class name 300 { 301 if($forceInclude && self::autoload($alias)) 302 self::$_imports[$alias]=$alias; 303 return $alias; 304 } 305 306 $className=(string)substr($alias,$pos+1); |
#2 |
+
–
/home1/skipgrid/public_html/framework/YiiBase.php(201): YiiBase::import("CHttpRequest", true) 196 } 197 else 198 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 199 200 if(!class_exists($type,false)) 201 $type=Yii::import($type,true); 202 203 if(($n=func_num_args())>1) 204 { 205 $args=func_get_args(); 206 if($n===2) |
#3 |
+
–
/home1/skipgrid/public_html/framework/base/CModule.php(371): YiiBase::createComponent(array()) 366 $config=$this->_componentConfig[$id]; 367 if(!isset($config['enabled']) || $config['enabled']) 368 { 369 Yii::trace("Loading \"$id\" application component",'system.CModule'); 370 unset($config['enabled']); 371 $component=Yii::createComponent($config); 372 $component->init(); 373 return $this->_components[$id]=$component; 374 } 375 } 376 } |
#4 |
+
–
/home1/skipgrid/public_html/framework/base/CApplication.php(492): CModule->getComponent("request") 487 * Returns the request component. 488 * @return CHttpRequest the request component 489 */ 490 public function getRequest() 491 { 492 return $this->getComponent('request'); 493 } 494 495 /** 496 * Returns the URL manager component. 497 * @return CUrlManager the URL manager component |
#5 |
+
–
/home1/skipgrid/public_html/framework/web/CWebApplication.php(541): CApplication->getRequest() 536 */ 537 protected function init() 538 { 539 parent::init(); 540 // preload 'request' so that it has chance to respond to onBeginRequest event. 541 $this->getRequest(); 542 } 543 } |
#6 |
+
–
/home1/skipgrid/public_html/framework/base/CApplication.php(144): CWebApplication->init() 139 140 $this->configure($config); 141 $this->attachBehaviors($this->behaviors); 142 $this->preloadComponents(); 143 144 $this->init(); 145 } 146 147 148 /** 149 * Runs the application. |
#7 |
+
–
/home1/skipgrid/public_html/framework/YiiBase.php(128): CApplication->__construct(array("name" => "SkipGrid", "preload" => array("log"), "import" => array("application.classes.*", "application.components.*", "application.components.UserSideBar.*", "application.controllers.*", ...), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "ver92box")), ...)) 123 * @return mixed the application instance 124 * @since 1.0.10 125 */ 126 public static function createApplication($class,$config=null) 127 { 128 return new $class($config); 129 } 130 131 /** 132 * Returns the application singleton, null if the singleton has not been created yet. 133 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#8 |
+
–
/home1/skipgrid/public_html/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/home1/skipgrid/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. |
#9 |
+
–
/home1/skipgrid/public_html/index.php(19): YiiBase::createWebApplication("/home1/skipgrid/public_html/protected/config/main.php") 14 //show profiler 15 defined('YII_DEBUG_SHOW_PROFILER') or define('YII_DEBUG_SHOW_PROFILER',true); 16 17 18 require_once($yii); 19 $app = Yii::createWebApplication($config); 20 $app->run(); |