isLoggedIn(); if ($uid===false || !$m->getAuthObj($uid)->isAdim()) { $this->http401($routed, $remainder); return; } // TODO } public function http401($routed, $remainder) { $this->showView('plugins/401'); } }