Хороним идиотские ошибки в проверках и инклюдах.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<?php
|
||||
// magic идентификацыя
|
||||
if ($_SESSION['uid'] == null) {
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
if ($user['battle'] == 0) {
|
||||
echo "ќто боеваЯ магиЯ...";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user