public isAdminPath ( ) : boolean | ||
return | boolean |
public function isAdminPath()
{
if ($this->uri->route() == $this->base || substr($this->uri->route(), 0, strlen($this->base) + 1) == $this->base . '/') {
return true;
}
return false;
}