-define('CODE_WRONG_PASS' , 0x001);
-define('CODE_WRONG_ID' , 0x002);
-define('CODE_ID_LOCKED' , 0x003);
-define('CODE_ID_UNCONFIRMED' , 0x004);
-define('CODE_UNKNOWN_STATUS' , 0x005);
-define('CODE_NO_COOKIES' , 0x006);
-define('CODE_CNTR_FAILED' , 0x008);
-define('CODE_LOGOUT_DONE' , 0x008);
-define('CODE_LOGOUT_FAILED' , 0x009);
-define('CODE_URL_TLOCK' , 0x00A);
-define('CODE_URL_FOUND' , 0x00B);
-define('CODE_OVERLENGTH' , 0x00C);
-define('CODE_SUBJ_URL' , 0x00D);
-define('CODE_BLIST_URL' , 0x00E);
-define('CODE_NO_RECS_LEFT' , 0x00F);
-define('CODE_INVALID_TAGS' , 0x010);
-define('CODE_MORE_POINTS' , 0x011);
-define('CODE_COOKIES_DISABLED' , 0x012);
-define('CODE_DATA_INVALID' , 0x013);
-define('CODE_POSSIBLE_INVALID' , 0x014);
-define('CODE_ACCOUNT_LOCKED' , 0x015);
-define('CODE_USER_404' , 0x016);
-define('CODE_STATS_404' , 0x017);
-define('CODE_ALREADY_CONFIRMED', 0x018);
-define('CODE_ERROR_MAILID' , 0x019);
-define('CODE_EXTENSION_PROBLEM', 0x01A);
-define('CODE_MORE_RECEIVERS1' , 0x01B);
-define('CODE_MORE_RECEIVERS2' , 0x01C);
-define('CODE_MORE_RECEIVERS3' , 0x01D);
-define('CODE_INVALID_URL' , 0x01E);
-define('CODE_MENU_NOT_VALID' , 0x01F);
-define('CODE_LOGIN_FAILED' , 0x020);
-define('CODE_BEG_SAME_AS_OWN' , 0x020);
-define('CODE_UNHANDLED_STATUS' , 0x020);
-
-// Full version string: /([0-9]){1}\.([0-9]){1}\.([0-9]){1}(-(alpha|beta|pre|rc([1-3]))([0-9]+))?/
-// If you understand regular expressions ^^^ you may know how I versionize... ;-)
-define('FULL_VERSION', "0.2.1-FINAL");
-
-// Replacement strings
-$REPLACER = array(
- 'userid' => "%uid%", // User-ID
- 'surname' => "%vorname%", // Surname
- 'family' => "%nachname%", // Family name
- 'gender' => "%anrede%", // Gender
-);
+addCode('WRONG_PASS' , 0x001);
+addCode('WRONG_ID' , 0x002);
+addCode('ACCOUNT_LOCKED' , 0x003);
+addCode('ACCOUNT_UNCONFIRMED' , 0x004);
+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);
+addCode('UNKNOWN_REDIRECT' , 0x026);
+addCode('LOGIN_EMPTY_ID' , 0x027);
+addCode('LOGIN_EMPTY_PASSWORD', 0x028);
+
+// Full version
+setConfigEntry('FULL_VERSION', '0.2.1-FINAL');
+
+// Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES!)
+setConfigEntry('SERVER_URL', 'http://mxchange.org');