************************************************************************/
// 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);
}
// Replacement strings
$REPLACER = array(
- 10 => "%uid%", // User-ID
- 11 => "%vorname%", // Surname
- 12 => "%nachname%", // Family name
- 13 => "%anrede%", // Salutation
+ 'userid' => "%uid%", // User-ID
+ 'surname' => "%vorname%", // Surname
+ 'family' => "%nachname%", // Family name
+ 'gender' => "%anrede%", // Gender
);
-//
+
// One day
define('ONE_DAY', 60*60*24);
define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "313");
+define('CURR_SVN_REVISION', "383");
// 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 = "";
+
//
?>