<?php
//#################################################################################################
// Session Management for admin-only pages
//#################################################################################################
// chillyCMS - Content Management System
// Copyright (C) 2008
// Stefanie Wiegand <hide@address.com> & Johannes Cox <hide@address.com>
//
// This program is licensed under the GPL 3.0 license. For more information see LICENSE.txt.
//#################################################################################################
defined('DOIT') or die('Restricted access');
require_once("session.backend.include.php");
//if the user is not an admin throw him out
if (!$is_admin) {
header("Location: ".URL."/admin/index.php?nicetry");
die();
}
?>