Added the secure logins for site.

removed htaccess in favor of a custom authentication.
Most pages are linking to the secure login screen now.
I added a minutes page to keep the meeting minutes.
Successful logins.
This commit is contained in:
2017-10-29 20:21:55 -04:00
parent b5aaafd494
commit a491c4b921
9 changed files with 160 additions and 12 deletions

15
lib/protected.inc.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
/**
* Created by PhpStorm.
* User: sean
* Date: 10/29/17
* Time: 6:49 PM
*/
require_once "prelude.inc.php";
if(!$open){
if(!isset($_SESSION[LOGIN])){
header("Location: ../secure/index.php");
}
}