/var/www/dobromart/data/www/framework/yiilite.php(166)
154 $isClass=$className!=='*'; 155 if($isClass && (class_exists($className,false) || interface_exists($className,false))) 156 return self::$_imports[$alias]=$className; 157 if(($path=self::getPathOfAlias($alias))!==false) 158 { 159 if($isClass) 160 { 161 if($forceInclude) 162 { 163 if(is_file($path.'.php')) 164 require($path.'.php'); 165 else 166 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))); 167 self::$_imports[$alias]=$className; 168 } 169 else 170 self::$classMap[$className]=$path.'.php'; 171 return $className; 172 } 173 else // a directory 174 { 175 if(self::$_includePaths===null) 176 { 177 self::$_includePaths=array_unique(explode(PATH_SEPARATOR,get_include_path())); 178 if(($pos=array_search('.',self::$_includePaths,true))!==false)
#0 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(88): YiiBase::import("contacts.ContactsModule", true) 83 unset($config['class']); 84 } 85 else 86 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 87 if(!class_exists($type,false)) 88 $type=Yii::import($type,true); 89 if(($n=func_num_args())>1) 90 { 91 if($n===2) 92 $object=new $type($args[1]); 93 elseif($n===3) |
#1 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(1028): YiiBase::createComponent(array(), "contacts", null, array()) 1023 if(!isset($config['enabled']) || $config['enabled']) 1024 { 1025 $class=$config['class']; 1026 unset($config['class'], $config['enabled']); 1027 if($this===Yii::app()) 1028 $module=Yii::createComponent($class,$id,null,$config); 1029 else 1030 $module=Yii::createComponent($class,$this->getId().'/'.$id,$this,$config); 1031 return $this->_modules[$id]=$module; 1032 } 1033 } |
#2 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(1808): CModule->getModule("contacts") 1803 return array( 1804 Yii::createComponent($owner->controllerMap[$id],$id,$owner===$this?null:$owner), 1805 $this->parseActionParams($route), 1806 ); 1807 } 1808 if(($module=$owner->getModule($id))!==null) 1809 return $this->createController($route,$module); 1810 $basePath=$owner->getControllerPath(); 1811 $controllerID=''; 1812 } 1813 else |
#3 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(1770): CWebApplication->createController("stores/") 1765 { 1766 $this->_theme=$value; 1767 } 1768 public function runController($route) 1769 { 1770 if(($ca=$this->createController($route))!==null) 1771 { 1772 list($controller,$actionID)=$ca; 1773 $oldController=$this->_controller; 1774 $this->_controller=$controller; 1775 $controller->init(); |
#4 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(1696): CWebApplication->runController("contacts/stores") 1691 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1692 $_GET[$name]=$value; 1693 } 1694 else 1695 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1696 $this->runController($route); 1697 } 1698 protected function registerCoreComponents() 1699 { 1700 parent::registerCoreComponents(); 1701 $components=array( |
#5 |
+
–
/var/www/dobromart/data/www/framework/yiilite.php(1213): CWebApplication->processRequest() 1208 public function run() 1209 { 1210 if($this->hasEventHandler('onBeginRequest')) 1211 $this->onBeginRequest(new CEvent($this)); 1212 register_shutdown_function(array($this,'end'),0,false); 1213 $this->processRequest(); 1214 if($this->hasEventHandler('onEndRequest')) 1215 $this->onEndRequest(new CEvent($this)); 1216 } 1217 public function end($status=0,$exit=true) 1218 { |
#6 |
+
–
/var/www/dobromart/data/www/dobromart.ru/index.php(7): CApplication->run() 2 error_reporting(E_ALL ^ E_NOTICE); 3 4 require_once( __DIR__ . '/../app/config/settings.php' ); 5 require_once( __DIR__ . '/../framework/yiilite.php'); 6 7 Yii::createWebApplication( __DIR__ . '/../app/config/frontend.php' )->run(); |