Хороним идиотские ошибки в проверках и инклюдах.
This commit is contained in:
+1
-2
@@ -4,8 +4,7 @@ session_start();
|
||||
if (!isset($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
}
|
||||
include("config.php");
|
||||
include("functions.php");
|
||||
require_once "functions.php";
|
||||
if ($user['in_tower'] != 1) {
|
||||
header('Location: main.php');
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user