pool delivery won't no longer work on daily reset, daily reset won't work in DEBUG_MO...
[mailer.git] / inc / databases.php
index ba57bc56facc512fbc3913c54e79498ebc520b7e..4405b6670784434780047ab7da6dc6ed3327ec53 100644 (file)
@@ -78,12 +78,12 @@ define('FULL_VERSION', "0.2.1-FINAL");
 
 // 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);
 
@@ -93,13 +93,10 @@ define('START_YDAY', MAKE_TIME(0, 0, 0, time() - ONE_DAY));
 define('START_TDAY', MAKE_TIME(0, 0, 0, time()));
 
 $COOKIES = substr(URL, strpos(substr(URL, 8), "/") + 8);
-if ((strpos($COOKIES, "/") == "0") && (strpos(substr(URL, 8), "/") > 0))
-{
+if ((strpos($COOKIES, "/") == "0") && (strpos(substr(URL, 8), "/") > 0)) {
        // Script was installed into a sub directory
        if (substr($COOKIES, -1) != "/") $COOKIES .= "/";
-}
- else
-{
+} else {
        // No more sub directories added to URL
        $COOKIES = "/";
 }
@@ -117,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_PATCH_LEVEL', "514");
+define('CURR_SVN_REVISION', "321");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
@@ -125,5 +122,8 @@ define('_PRIME', 591623);
 // Calculate "entropy" with the prime number (for code generation)
 define('_ADD', (_PRIME * _PRIME / (pi() * $_CONFIG['code_length'] + 1)));
 
+// Extra title is empty by default
+$EXTRA_TITLE = "";
+
 //
 ?>