* add the guest user check logic.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php // -*- c++ -*-
|
||||
<?php
|
||||
include '../config/config.php';
|
||||
session_name($config->sessionVar);
|
||||
session_start();
|
||||
if(!isset($_SESSION['user'])) header('location:index.php');
|
||||
if(!isset($_SESSION['user']) or $_SESSION['user']->account == 'guest') die(header('location:index.php'));
|
||||
|
||||
/**
|
||||
* ionCube Loader install Wizard
|
||||
|
||||
Reference in New Issue
Block a user