/var/www/framework/YiiBase.php(330)
318 if($isClass && (class_exists($className,false) || interface_exists($className,false))) 319 return self::$_imports[$alias]=$className; 320 321 if(($path=self::getPathOfAlias($alias))!==false) 322 { 323 if($isClass) 324 { 325 if($forceInclude) 326 { 327 if(is_file($path.'.php')) 328 require($path.'.php'); 329 else 330 throw new CException(Yii::t('yii','Alias "{alias}" is invalid. Make sure it points to an existing PHP file and the file is readable.',array('{alias}'=>$alias))); 331 self::$_imports[$alias]=$className; 332 } 333 else 334 self::$classMap[$className]=$path.'.php'; 335 return $className; 336 } 337 else // a directory 338 { 339 if(self::$_includePaths===null) 340 { 341 self::$_includePaths=array_unique(explode(PATH_SEPARATOR,get_include_path())); 342 if(($pos=array_search('.',self::$_includePaths,true))!==false)
#0 |
+
–
/var/www/framework/YiiBase.php(204): YiiBase::import() 199 } 200 else 201 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 202 203 if(!class_exists($type,false)) 204 $type=Yii::import($type,true); 205 206 if(($n=func_num_args())>1) 207 { 208 if($n===2) 209 $object=new $type($args[1]); |
#1 |
+
–
/var/www/framework/web/CWebApplication.php(332): YiiBase::createComponent() 327 if(!isset($basePath)) // first segment 328 { 329 if(isset($owner->controllerMap[$id])) 330 { 331 return array( 332 Yii::createComponent($owner->controllerMap[$id],$id,$owner===$this?null:$owner), 333 $this->parseActionParams($route), 334 ); 335 } 336 337 if(($module=$owner->getModule($id))!==null) |
#2 |
+
–
/var/www/framework/web/CWebApplication.php(276): CWebApplication->createController() 271 * @param string $route the route of the current request. See {@link createController} for more details. 272 * @throws CHttpException if the controller could not be created. 273 */ 274 public function runController($route) 275 { 276 if(($ca=$this->createController($route))!==null) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); |
#3 |
+
–
/var/www/framework/web/CWebApplication.php(141): CWebApplication->runController() 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#4 |
+
–
/var/www/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#5 |
+
–
/var/www/html/matrrix/index.php(19): CApplication->run() 14 require_once(dirname(__FILE__).'/protected/vendors/Facebook/autoload.php'); 15 // aws php sdk 16 //require_once(dirname(__FILE__).'/protected/vendors/aws/aws-autoloader.php'); 17 18 require_once($yii); 19 Yii::createWebApplication($config)->run(); |