java/site/login/login/admin/auth.php
Ed Kraus 79df1b80f1 Admin page prep
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@549 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-06-07 17:16:20 +00:00

10 lines
267 B
PHP

<?php
//Start session
session_start();
//Check whether the session variable SESS_MEMBER_ID is present or not
if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) {
header("location: access-denied.php");
exit();
}
?>