view = PATH::VIEW . "landing.php"; $this->title = "Login - SWDB"; $this->description = "Login to SWDB"; $this->canonical = URL::BASE . "landing/"; if (http_response_code() == 401){ $this->error_message = "Invalid credentials"; } } } ?>