]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-infos.php
New extension added, minor fixes, new author added
[mailer.git] / inc / modules / guest / what-infos.php
index 03e203339f55160bf81caf7d9cb1c3cc716d9ef3..77f95d4ccba86fbbd6b84baca735a6d8c6afe22a 100644 (file)
  ************************************************************************/
 
 // 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 default template
 LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4));
-CLOSE_TABLE();
+
 //
 ?>