another final version

This commit is contained in:
lopar
2019-01-16 01:10:33 +02:00
parent dd626acd6a
commit 37a83b52b0
2 changed files with 28 additions and 124 deletions

View File

@@ -1,7 +1,7 @@
<?php
ob_start("ob_gzhandler");
session_start();
if ($_SESSION['uid'] == null) header("Location: index.php");
if (is_null($_SESSION['uid'])) header("Location: index.php");
require_once "functions.php";
if ($user['room'] != 29) {
header("Location: main.php");