<?php
  include "./inc/global.php";     
  if (!($AllowAnnoymousBrowsing == 1))    // if annoymous browsing is not allowed
    {                                                         //  and user isn;t loagged in they are
    header("Location: login.php");                            // redirected to the login page
    }
  else
    {
    header("Location: forum.php");
    }
?>
