Прикручиваем шаблон. Хороним идиотские ошибки.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
session_start();
|
||||
if (!isset($_SESSION['uid'])) {
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header('Location: /index.php');
|
||||
}
|
||||
require_once 'functions.php';
|
||||
|
||||
Reference in New Issue
Block a user