<?php require_once("../config.php"); if(isset($_SESSION['authorized']) && $_SESSION['authorized']) { header("Location: /dashboard/"); } echo (new View())->render("login.php", array());