* add the guest user check logic.

This commit is contained in:
wwccss
2014-07-02 13:58:08 +08:00
parent 63004a95e4
commit af24001dbf
+2 -2
View File
@@ -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