Прикручиваем шаблон. Хороним идиотские ошибки.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:58:44 +03:00
parent 733d1cf87b
commit 2f723e02b8
22 changed files with 44 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
<?php
session_start();
if (!isset($_SESSION['uid'])) {
if (empty($_SESSION['uid'])) {
header("Location: index.php");
}
require_once "functions.php";