public function Error() { $this->RemoveCssFile('admin.css'); $this->AddCssFile('style.css'); $this->MasterView = 'default'; $this->CssClass = 'SplashMessage NoPanel'; $this->SetData('_NoMessages', TRUE); $Code = $this->Data('Code', 400); safeheader("HTTP/1.0 {$Code} " . Gdn_Controller::GetStatusMessage($Code), TRUE, $Code); Gdn_Theme::Section('Error'); $this->Render(); }
/** * Display error page. */ public function error() { $this->removeCssFile('admin.css'); $this->addCssFile('style.css'); $this->addCssFile('vanillicon.css', 'static'); $this->MasterView = 'default'; $this->CssClass = 'SplashMessage NoPanel'; $this->setData('_NoMessages', true); $Code = $this->data('Code', 400); safeheader("HTTP/1.0 {$Code} " . Gdn_Controller::GetStatusMessage($Code), true, $Code); Gdn_Theme::section('Error'); $this->render(); }