<?
if(eregi("modules.php", $PHP_SELF)):
define("LOADED_AS_MODULE",true);
elseif(eregi("admin.php", $PHP_SELF)):
define("LOADED_AS_ADMIN",true);
endif;
if (!defined("LOADED_AS_MODULE") && !defined("LOADED_AS_ADMIN")):
die ("You can't access this file directly...");
endif;
if($pnconfig[Version_Sub] == "Rogue")
{
$auth_str = $ModName . "::";
if (!authorised(0, $auth_str, "::", ACCESS_READ)) die("Permission denied");
}
?>