43 lines
1.3 KiB
PHP
43 lines
1.3 KiB
PHP
<?php
|
|
|
|
/*
|
|
|| #################################################################### ||
|
|
|| # ArrowChat # ||
|
|
|| # ---------------------------------------------------------------- # ||
|
|
|| # Copyright ©2010-2012 ArrowSuites LLC. All Rights Reserved. # ||
|
|
|| # This file may not be redistributed in whole or significant part. # ||
|
|
|| # ---------------- ARROWCHAT IS NOT FREE SOFTWARE ---------------- # ||
|
|
|| # http://www.arrowchat.com | http://www.arrowchat.com/license/ # ||
|
|
|| #################################################################### ||
|
|
*/
|
|
|
|
// ########################## INCLUDE BACK-END ###########################
|
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "includes/admin_init.php");
|
|
|
|
// Get the page to process
|
|
if (empty($do))
|
|
{
|
|
$do = "chatsettings";
|
|
}
|
|
|
|
// ####################### START SUBMIT/POST DATA ########################
|
|
$security_token = get_var('token');
|
|
|
|
if (!empty($security_token))
|
|
{
|
|
if (hash_equals($_SESSION['token'], $security_token))
|
|
{
|
|
|
|
|
|
}
|
|
else
|
|
{
|
|
die("No valid token");
|
|
}
|
|
}
|
|
|
|
require(dirname(__FILE__) . DIRECTORY_SEPARATOR . "layout/pages_header.php");
|
|
require(dirname(__FILE__) . DIRECTORY_SEPARATOR . "layout/pages_general.php");
|
|
require(dirname(__FILE__) . DIRECTORY_SEPARATOR . "layout/pages_footer.php");
|
|
|
|
?>
|