Хороним идиотские ошибки в проверках и инклюдах.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
// magic выход из боя
|
||||
if ($_SESSION['uid'] == null) {
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' LIMIT 1;"));
|
||||
|
||||
if ($user['battle'] == 0) {
|
||||
|
||||
Reference in New Issue
Block a user