]> git.mxchange.org Git - mailer.git/blobdiff - inc/databases.php
'what' files should be loaded only once
[mailer.git] / inc / databases.php
index 03d84c84f700d8a8cbde661065c33b3936134fee..62ba20b9aa1d5cc1d38353e5b41b7c67570dc388 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -45,52 +45,45 @@ addCode('WRONG_PASS'         , 0x001);
 addCode('WRONG_ID'           , 0x002);
 addCode('ACCOUNT_LOCKED'     , 0x003);
 addCode('ACCOUNT_UNCONFIRMED', 0x004);
-addCode('UNKNOWN_STATUS'     , 0x005);
-addCode('NO_MAIL_TYPE'       , 0x006);
-addCode('CNTR_FAILED'        , 0x007);
-addCode('LOGOUT_DONE'        , 0x008);
-addCode('LOGOUT_FAILED'      , 0x009);
-addCode('URL_TIME_LOCK'      , 0x00a);
-addCode('URL_FOUND'          , 0x00b);
-addCode('OVERLENGTH'         , 0x00c);
-addCode('SUBJECT_URL'        , 0x00d);
-addCode('BLIST_URL'          , 0x00e);
-addCode('NO_RECS_LEFT'       , 0x00f);
-addCode('INVALID_TAGS'       , 0x010);
-addCode('MORE_POINTS'        , 0x011);
-addCode('COOKIES_DISABLED'   , 0x012);
-addCode('DATA_INVALID'       , 0x013);
-addCode('POSSIBLE_INVALID'   , 0x014);
-addCode('USER_404'           , 0x015);
-addCode('STATS_404'          , 0x016);
-addCode('ALREADY_CONFIRMED'  , 0x017);
-addCode('ERROR_MAILID'       , 0x018);
-addCode('EXTENSION_PROBLEM'  , 0x019);
-addCode('MORE_RECEIVERS1'    , 0x01a);
-addCode('MORE_RECEIVERS2'    , 0x01b);
-addCode('MORE_RECEIVERS3'    , 0x01c);
-addCode('INVALID_URL'        , 0x01d);
-addCode('MENU_NOT_VALID'     , 0x01e);
-addCode('LOGIN_FAILED'       , 0x01f);
-addCode('BEG_SAME_AS_OWN'    , 0x020);
-addCode('UNHANDLED_STATUS'   , 0x021);
-addCode('MODULE_MEMBER_ONLY' , 0x022);
-addCode('UNKNOWN_ERROR'      , 0x023);
-addCode('PROFILE_UPDATED'    , 0x024);
+addCode('ACCOUNT_UNKNOWN'    , 0x005);
+addCode('UNKNOWN_STATUS'     , 0x006);
+addCode('NO_MAIL_TYPE'       , 0x007);
+addCode('CNTR_FAILED'        , 0x008);
+addCode('LOGOUT_DONE'        , 0x009);
+addCode('LOGOUT_FAILED'      , 0x00a);
+addCode('URL_TIME_LOCK'      , 0x00b);
+addCode('URL_FOUND'          , 0x00c);
+addCode('OVERLENGTH'         , 0x00d);
+addCode('SUBJECT_URL'        , 0x00e);
+addCode('BLIST_URL'          , 0x00f);
+addCode('NO_RECS_LEFT'       , 0x010);
+addCode('INVALID_TAGS'       , 0x011);
+addCode('MORE_POINTS'        , 0x012);
+addCode('COOKIES_DISABLED'   , 0x013);
+addCode('DATA_INVALID'       , 0x014);
+addCode('POSSIBLE_INVALID'   , 0x015);
+addCode('USER_404'           , 0x016);
+addCode('STATS_404'          , 0x017);
+addCode('ALREADY_CONFIRMED'  , 0x018);
+addCode('ERROR_MAILID'       , 0x019);
+addCode('EXTENSION_PROBLEM'  , 0x01a);
+addCode('MORE_RECEIVERS1'    , 0x01b);
+addCode('MORE_RECEIVERS2'    , 0x01c);
+addCode('MORE_RECEIVERS3'    , 0x01d);
+addCode('INVALID_URL'        , 0x01e);
+addCode('MENU_NOT_VALID'     , 0x01f);
+addCode('LOGIN_FAILED'       , 0x020);
+addCode('BEG_SAME_AS_OWN'    , 0x021);
+addCode('UNHANDLED_STATUS'   , 0x022);
+addCode('MODULE_MEMBER_ONLY' , 0x023);
+addCode('UNKNOWN_ERROR'      , 0x024);
+addCode('PROFILE_UPDATED'    , 0x025);
 
 // Full version
 setConfigEntry('FULL_VERSION', '0.2.1-FINAL');
 
 // Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!)
-setConfigEntry('SERVER_URL', 'http://www.mxchange.org');
-
-// Replacement strings
-$GLOBALS['replacer'] = array(
-       'userid'  => '%userid%',   // Member id
-       'surname' => '%vorname%',  // Surname
-       'family'  => '%nachname%', // Family name
-       'gender'  => '%anrede%',   // Gender
-);
+setConfigEntry('SERVER_URL', 'http://mxchange.org');
 
 // One day
 setConfigEntry('ONE_DAY', (60*60*24));