X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-impressum.php;h=893915d6c1bd958fc939dcd4a72e9a538b407fd9;hp=afb4c3bc1298b2ebbbb43b8acc898931f705b581;hb=357b2ca133fc1f89db74097955c366cb4bee6996;hpb=75ad748a68473ace540251427a74fb781b1145e9 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(); // ?>