/home/virtwww/w_imperia-pane-ru_9e14c598/http/protected/helpers/common.php(38)
26 return self::$isInstalled; 27 } 28 } 29 30 function param($name, $default = null) { 31 if (isset(Yii::app()->params[$name])) 32 return Yii::app()->params[$name]; 33 else 34 return $default; 35 } 36 37 function throw404(){ 38 throw new CHttpException(404, 'Запрашиваемая страница не найдена.'); 39 } 40 41 function rrmdir($dir) { 42 if (is_dir($dir)) { 43 $objects = scandir($dir); 44 if($objects){ 45 foreach ($objects as $object) { 46 if ($object != "." && $object != "..") { 47 if (filetype($dir . "/" . $object) == "dir") 48 rrmdir($dir . "/" . $object); 49 else 50 unlink($dir . "/" . $object);
#0 |
+
–
/home/virtwww/w_imperia-pane-ru_9e14c598/http/protected/modules/price/controllers/MainController.php(30): throw404() 25 parent::init(); 26 27 $pricePage = Menu::model()->findByPk(Menu::PRICE_ID); 28 if ($pricePage) { 29 if ($pricePage->active == 0) { 30 throw404(); 31 } 32 } 33 } 34 35 public function actionIndex(){ |
#1 |
+
–
/home/virtwww/w_imperia-pane-ru_9e14c598/http/framework/web/CWebApplication.php(281): MainController->init() 276 if(($ca=$this->createController($route))!==null) 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}".', |
#2 |
+
–
/home/virtwww/w_imperia-pane-ru_9e14c598/http/framework/web/CWebApplication.php(141): CWebApplication->runController("price/main/index") 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. |
#3 |
+
–
/home/virtwww/w_imperia-pane-ru_9e14c598/http/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 /** |
#4 |
+
–
/home/virtwww/w_imperia-pane-ru_9e14c598/http/index.php(18): CApplication->run() 13 14 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR 15 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install'); 16 17 require_once($yii); 18 Yii::createWebApplication($config)->run(); |