public function Initiate() { parent::Initiate(); $this->layout->SetLayout("error"); if (!self::$__EXTERN_ERROR) { $mp = new \zinux\kernel\utilities\pipe("__ERRORS__"); if (!$mp->hasFlow() && strtolower($this->request->action->name) === "index") { header("location: /"); exit; } # empty the pipe and only keep the last error up while ($mp->hasFlow()) { $this->view->error = $mp->read(); } } else { $this->view->error = self::$__EXTERN_ERROR; self::$__EXTERN_ERROR = NULL; } $this->layout->AddTitle("iDisqus"); }
public function Initiate() { parent::Initiate(); $this->layout->AddTitle("Manage Tags | iDisqus"); }