/home/w/webarena3/kamil-krim.ru/public_html/protected/helpers/common.php(217)
205 CVarDumper::dump($mVal, 10, true); 206 echo '</pre>'; 207 } 208 209 function logs($mVal) { 210 $file = fopen(ROOT_PATH . '/uploads/logs.txt', 'a+'); 211 $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n"; 212 fwrite($file, $sLogs); 213 fclose($file); 214 } 215 216 function throw404() { 217 throw new CHttpException(404, tc('The requested page does not exist.')); 218 } 219 220 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true) { 221 Yii::app()->controller->render('//site/message', array('breadcrumb' => $breadcrumb, 222 'messageTitle' => $messageTitle, 223 'messageText' => $messageText)); 224 225 if ($isEnd) { 226 Yii::app()->end(); 227 } 228 } 229
#0 |
+
–
/home/w/webarena3/kamil-krim.ru/public_html/protected/modules/articles/controllers/MainController.php(31): throw404() 26 parent::init(); 27 28 $articlePage = Menu::model()->findByPk(Menu::ARTICLES_ID); 29 if ($articlePage) { 30 if ($articlePage->active == 0) { 31 throw404(); 32 } 33 } 34 } 35 36 public function actionIndex(){ |
#1 |
+
–
/home/w/webarena3/kamil-krim.ru/public_html/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/w/webarena3/kamil-krim.ru/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("articles") 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/w/webarena3/kamil-krim.ru/public_html/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/w/webarena3/kamil-krim.ru/public_html/index.php(23): CApplication->run() 18 19 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR 20 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install'); 21 22 require_once($yii); 23 Yii::createWebApplication($config)->run(); |