| Current Path : /home/seto/testhive.pm/includes/ |
| Current File : /home/seto/testhive.pm/includes/auth.php |
<?php
require_once __DIR__ . '/config.php';
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
if (empty($_SESSION[ADMIN_SESSION])) {
header('Location: /admin/login.php');
exit;
}