Основные классы переехали на обёртку PDO. Плановое №16.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
* Author: Igor Barkov <lopar.4ever@gmail.com>
|
||||
* Project name: Battles-Game
|
||||
*/
|
||||
if (empty($_SESSION['uid'])) {
|
||||
if (empty($_SESSION['uid']) && $_SERVER['REQUEST_URI'] != "/enter.php") {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user