]> git.mxchange.org Git - mailer.git/blobdiff - inc/language/repair_de.php
Rewrites for installation of sql_patches
[mailer.git] / inc / language / repair_de.php
index db90d963de21e36c5c4dd9c77120faa34a4296a6..da5bdd0edd7c89204b2e6cd08b1242800c6eedf2 100644 (file)
@@ -32,8 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))
-{
+if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }