create authentication php
This commit is contained in:
parent
4c8e936c2a
commit
f36daf613f
|
@ -0,0 +1,6 @@
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(!isset($_SESSION["username"])){
|
||||||
|
header("Location: db/login.php");
|
||||||
|
exit(); }
|
||||||
|
?>
|
Loading…
Reference in New Issue