1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php include 'config.php'; // Check if the user is logged in
if ((!isSet($_SESSION['loginname'])) || ($loggin <> '1')) { header("Location: login.php"); exit; } // check webadmin user permission // call this before using grant() and grantMenu() Sec::getInstance()->check();
|