]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-overview.php
Refback will be payed now (user cannot setup currently)
[mailer.git] / inc / modules / admin / what-overview.php
index 799cae84f1cdf967d578f9c633d80830970911fb..1efd9171889bb96076a9caabcf4b37884b8f2a73 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {
+if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }
@@ -65,7 +65,7 @@ if ($JOBS_DONE) {
        global $menuDesription, $FATAL;
        if ((is_array($menuDesription)) && (sizeof($menuDesription) > 0)) {
                $OUT = "";
-               foreach ($menuDesription as $key=>$value)
+               foreach ($menuDesription as $key => $value)
                {
                        // Prepare content
                        $content = array(