/data/webdev/master/framework/YiiBase.php(289)
277 278 if(($pos=strrpos($alias,'\\'))!==false) // a class name in PHP 5.3 namespace format 279 { 280 $namespace=str_replace('\\','.',ltrim(substr($alias,0,$pos),'\\')); 281 if(($path=self::getPathOfAlias($namespace))!==false) 282 { 283 $classFile=$path.DIRECTORY_SEPARATOR.substr($alias,$pos+1).'.php'; 284 if($forceInclude) 285 { 286 if(is_file($classFile)) 287 require($classFile); 288 else 289 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))); 290 self::$_imports[$alias]=$alias; 291 } 292 else 293 self::$classMap[$alias]=$classFile; 294 return $alias; 295 } 296 else 297 { 298 // try to autoload the class with an autoloader 299 if (class_exists($alias,true)) 300 return self::$_imports[$alias]=$alias; 301 else
#0 |
+
–
/data/webdev/master/application/controllers/AdminController.php(219): YiiBase::import() 214 if (!empty($aOverridenCoreActions)) { 215 if (!empty($aOverridenCoreActions[$action])) { 216 $this->currentModuleAction = $action; // For subviews rendering, see: AdminController::renderPartial() 217 218 // Since module's class has the same name has core class, we need to load the core and module classes with namespace 219 Yii::import('application\\controllers\\admin\\' . $action, true); 220 $sActionModuleClass = 'lsadminmodules\\' . $action . '\controller\\' . $action; 221 Yii::import($sActionModuleClass, true); 222 } 223 } 224 } |
#1 |
+
–
/data/webdev/master/application/controllers/AdminController.php(199): AdminController->runModuleController() 194 $this->redirect(array('/admin/authentication/sa/login')); 195 } 196 } 197 } 198 199 $this->runModuleController($action); 200 tracevar($action); 201 202 return parent::run($action); 203 } 204 |
#2 |
+
–
/data/webdev/master/framework/web/CWebApplication.php(282): AdminController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#3 |
+
–
/data/webdev/master/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 |
+
–
/data/webdev/master/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 |
+
–
/data/webdev/master/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |