X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fguest%2Fwhat-agb.php;h=e802710b7df86c1a4414a3095320db6d426a2f6c;hb=b8c86fa12322603c24a88ea2b0fd3dbeba612752;hp=bf862413d965f75a592ac4e4a75dd55a56d948e5;hpb=5ef6ed7373ae85e5635e39e2a0adf9496a8add05;p=mailer.git diff --git a/inc/modules/guest/what-agb.php b/inc/modules/guest/what-agb.php index bf862413d9..e802710b7d 100644 --- a/inc/modules/guest/what-agb.php +++ b/inc/modules/guest/what-agb.php @@ -32,16 +32,16 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) -{ +if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } + // Add description as navigation point ADD_DESCR ("guest", basename(__FILE__)); -OPEN_TABLE("100%", "guest_content_align", ""); +// Load default template LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4)); -CLOSE_TABLE(); + // ?>