index.php 186 B

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