2016-05-16 15:43:49 -06:00
|
|
|
<?php
|
2016-05-19 00:41:51 -06:00
|
|
|
/**
|
|
|
|
* Simple way to block people that aren't logged in.
|
|
|
|
*/
|
2016-05-16 15:43:49 -06:00
|
|
|
require_once 'required.php';
|
|
|
|
|
|
|
|
if ($_SESSION['loggedin'] !== true || is_empty($_SESSION['user'])) {
|
|
|
|
sendError('You must be logged in to continue.', true);
|
|
|
|
}
|