Modo
blame it on my asd
- May 27, 2013
- 137
- 42
Hi again,
I am trying to make my retro cms allow staff members online during maintenance but haven't seen code for it anywhere. I presume it is possible as it is just a bit of SQL...
Main part I'm looking at is "if(!isset($_SESSION" - if user is in session and is rank above 8 then {
Anyone?
I am trying to make my retro cms allow staff members online during maintenance but haven't seen code for it anywhere. I presume it is possible as it is just a bit of SQL...
Code:
final public function handleCall($k)
{
global $users, $template, $_CONFIG;
if($_CONFIG['hotel']['in_maint'] == false)
{
if(!isset($_SESSION['user']['id']))
{
switch($k)
{
case "index":
case null:
Main part I'm looking at is "if(!isset($_SESSION" - if user is in session and is rank above 8 then {
Anyone?