/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(399)
387 /** 388 * Class autoload loader. 389 * This method is provided to be invoked within an __autoload() magic method. 390 * @param string $className class name 391 * @return boolean whether the class has been loaded successfully 392 */ 393 public static function autoload($className) 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { 405 if(self::$enableIncludePath===false) 406 { 407 foreach(self::$_includePaths as $path) 408 { 409 $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php'; 410 if(is_file($classFile)) 411 {
#0 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(399): include("/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framewor...") 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { |
#1 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(298): YiiBase::autoload("CHttpRequest") 293 array('{alias}'=>$namespace))); 294 } 295 296 if(($pos=strrpos($alias,'.'))===false) // a simple class name 297 { 298 if($forceInclude && self::autoload($alias)) 299 self::$_imports[$alias]=$alias; 300 return $alias; 301 } 302 303 $className=(string)substr($alias,$pos+1); |
#2 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(198): YiiBase::import("CHttpRequest", true) 193 } 194 else 195 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 196 197 if(!class_exists($type,false)) 198 $type=Yii::import($type,true); 199 200 if(($n=func_num_args())>1) 201 { 202 $args=func_get_args(); 203 if($n===2) |
#3 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/base/CModule.php(387): YiiBase::createComponent(array()) 382 $config=$this->_componentConfig[$id]; 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 } |
#4 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/base/CApplication.php(494): CModule->getComponent("request") 489 * Returns the request component. 490 * @return CHttpRequest the request component 491 */ 492 public function getRequest() 493 { 494 return $this->getComponent('request'); 495 } 496 497 /** 498 * Returns the URL manager component. 499 * @return CUrlManager the URL manager component |
#5 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/web/CWebApplication.php(535): CApplication->getRequest() 530 */ 531 protected function init() 532 { 533 parent::init(); 534 // preload 'request' so that it has chance to respond to onBeginRequest event. 535 $this->getRequest(); 536 } 537 } |
#6 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/base/CApplication.php(148): CWebApplication->init() 143 144 $this->configure($config); 145 $this->attachBehaviors($this->behaviors); 146 $this->preloadComponents(); 147 148 $this->init(); 149 } 150 151 152 /** 153 * Runs the application. |
#7 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(127): CApplication->__construct(array("name" => "Bai Cloud Forms", "preload" => array("log"), "import" => array("application.models.UserModel", "application.components.MyComponent", "application.modules.user.models.*"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "123", "ipFilters" => array("127.0.0.1", "::1")), 0 => "user", 1 => "company", 2 => "group", ...), ...)) 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. |
#8 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/yii/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/home5/yasir/public_html/clients/abrarlc/cloudforms/protected/co...") 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 |
+
–
/home5/yasir/public_html/clients/abrarlc/cloudforms/index.php(25): YiiBase::createWebApplication("/home5/yasir/public_html/clients/abrarlc/cloudforms/protected/co...") 20 require_once('protected/modules/common_functions.php'); 21 require_once('protected/modules/Curl.class.php'); 22 include_once("Google_Spreadsheet.php"); 23 set_include_path("library"); 24 require_once($yii); 25 Yii::createWebApplication($config)->run(); |