Вход в игру снова работает.

This commit is contained in:
Igor Barkov (iwork)
2021-01-29 17:21:14 +02:00
parent 92c3ea79c0
commit 06963ce428
3 changed files with 24 additions and 21 deletions
+1 -5
View File
@@ -4,10 +4,7 @@
* Author: Igor Barkov <lopar.4ever@gmail.com>
* Project name: Battles-Game
*/
if (empty($_SESSION['uid']) && $_SERVER['REQUEST_URI'] != "/enter.php") {
header("Location: index.php");
exit;
}
ini_set('display_errors', 'On');
error_reporting(E_ALL);
define("GAMEDOMAIN", "battles.lan");
@@ -16,7 +13,6 @@ define("GAMEDOMAIN", "battles.lan");
*/
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
/**
* Классы для работы с базой данных.