X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fdatabases.php;h=cd82d19dd97493a107b778c40c38b6d60882c99d;hp=424bd8c5a633a86bb107abdc391472ed37a1bbf8;hb=04036a4a4742c06629a5acba7c6c6ad2b5a03c5a;hpb=f01652b7b8efac92d97889e312402c4a845c2f14 diff --git a/inc/databases.php b/inc/databases.php index 424bd8c5a6..cd82d19dd9 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -32,8 +32,7 @@ ************************************************************************/ // 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); } @@ -114,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "316"); +define('CURR_SVN_REVISION', "340"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623);