Fix for guest menu (opps)
[mailer.git] / inc / databases.php
index 74de24b765ab31333f03d5bd8b95e75cadb25ba6..aaa158a63b122757753274bcba915c9f11e21822 100644 (file)
@@ -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', "324");
+define('CURR_SVN_REVISION', "350");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);