security update

This commit is contained in:
Shadow
2014-02-13 08:05:11 +02:00
parent c8b348e283
commit 80c8d93edf
46 changed files with 94 additions and 48 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
## ##
#################################################################################
include_once("../../config.php");
if (!isset($_SESSION)) session_start();
if($_SESSION['access'] < 9) die("Access Denied: You are not Admin!");
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
mysql_select_db(SQL_DB);