/var/www/hkosl.com/citysuper/webadmin/check_login.php


1
2
3
4
5
6
7
8
9
10
<?php
    
require_once ('config.php');
    
// Check if the user is logged in

    
if ((!isSet($_SESSION['loginname'])) || ($loggin <> '1')) {
        
header("Location: login.php");
        exit;
    }

    require_once (
'basic_info.php');