Search results

  1. J

    Elseif/if & REMOTE_ADDR stuff

    Don't remove the !. I use UberCMS and the code seemed to work
  2. J

    Elseif/if & REMOTE_ADDR stuff

    Try this:- elseif($_GET['url'] != 'maintenance' && $_SERVER['REMOTE_ADDR'] !== '127.0.0.1') { header('Location: '.$_CONFIG['hotel']['url'].'/maintenance'); }
Top