************************************************************************/
// 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);
}
define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "335");
+define('CURR_SVN_REVISION', "381");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
// Calculate "entropy" with the prime number (for code generation)
define('_ADD', (_PRIME * _PRIME / (pi() * $_CONFIG['code_length'] + 1)));
+// Random number for e.g. "cache-buster" used in OpenX script
+define('CACHE_BUSTER', mt_rand(1000000, 9999999));
+
// Extra title is empty by default
$EXTRA_TITLE = "";