Хороним идиотские ошибки в проверках и инклюдах.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:30:00 +03:00
parent 2e167b79dd
commit 95fa17237a
112 changed files with 223 additions and 119 deletions
+2 -1
View File
@@ -3,10 +3,11 @@
* */
session_start();
define("CASTLE_MAX_LEVEL", 10);
if ($_SESSION['uid'] == null) {
if (empty($_SESSION['uid'])) {
header("Location: index.php");
exit;
}
require_once 'functions.php';
if (!($user->room >= 37 AND $user->room <= 41)) {