Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
<?php
|
|
/**
|
|
* Simple way to block people that aren't logged in.
|
|
*/
|
|
require_once 'required.php';
|
|
|
|
if ($_SESSION['loggedin'] !== true || is_empty($_SESSION['user'])) {
|
|
sendError('You must be logged in to continue.', true);
|
|
} |