Куча мелких фиксов, уборка мусора.
This commit is contained in:
+1
-2
@@ -2,8 +2,7 @@
|
||||
session_start();
|
||||
if(!isset($_SESSION['uid'])) { header("Location: index.php"); }
|
||||
|
||||
include("config.php");
|
||||
include("functions.php");
|
||||
require_once "functions.php";
|
||||
$effect = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '{$user['id']}' LIMIT 1"));
|
||||
|
||||
if($user['battle'] != 0) { header('location: fbattle.php'); die(); }
|
||||
|
||||
Reference in New Issue
Block a user