Admin pages

from https://github.com/mariofont/PHP-Login
This commit is contained in:
2022-04-12 18:03:06 +02:00
parent 053598bf47
commit 2c36f7af82
6 changed files with 160 additions and 1 deletions

View File

@@ -14,6 +14,11 @@
<?php include 'functions.php';
session_start();
if($_SESSION['Active'] == false){ /* Redirects user to login.php if not logged in */
header("location:admin/login.php");
exit;
}
$domain = 'sentier';
localize($domain);
?>