TKK_E32232188/smartcollar-fe/index.php

15 lines
157 B
PHP

<?php
require_once "config/auth.php";
if(isLoggedIn()){
header("Location: pages/dashboard.php");
}else{
header("Location: login.php");
}
exit;