X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fguest%2Fwhat-impressum.php;h=893915d6c1bd958fc939dcd4a72e9a538b407fd9;hb=41f83d889de7bb9290e5bfb1d9fa1a0bcd16897a;hp=afb4c3bc1298b2ebbbb43b8acc898931f705b581;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/inc/modules/guest/what-impressum.php b/inc/modules/guest/what-impressum.php index afb4c3bc12..893915d6c1 100644 --- a/inc/modules/guest/what-impressum.php +++ b/inc/modules/guest/what-impressum.php @@ -32,17 +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__)); +ADD_DESCR("guest", __FILE__); -OPEN_TABLE("100%", "guest_content_align", "", ""); +// Load template template LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4)); -CLOSE_TABLE(); // ?>