public function disable($reason = "", $recursive = true) { global $CONFIG; if ($CONFIG->site->getGUID() == $this->guid) { throw new \SecurityException('You cannot disable the current site'); } return parent::disable($reason, $recursive); }