X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdatabases.php;h=240174765f7914424da400fd2dd001c07b254128;hb=d005c37ef992007d9ccad4acb9e0ce15ee6a9c9a;hp=7e3f7d06ae7b3b37353824166f503462fd0abca2;hpb=96d45e85fe5f2a32d27068235151111f9b997490;p=mailer.git diff --git a/inc/databases.php b/inc/databases.php index 7e3f7d06ae..240174765f 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -11,7 +11,7 @@ * Kurzbeschreibung : Definitionen und Datenfelder (hart-codertiert) * * -------------------------------------------------------------------- * * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: stelzi $ * * Needs to be in all Files and every File needs "svn propset * @@ -43,40 +43,40 @@ if (!defined('__SECURITY')) { } // END - if // System-wide return codes -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' , 0x021); -define('CODE_UNHANDLED_STATUS' , 0x022); +addCode('WRONG_PASS' , 0x001); +addCode('WRONG_ID' , 0x002); +addCode('ID_LOCKED' , 0x003); +addCode('ID_UNCONFIRMED' , 0x004); +addCode('UNKNOWN_STATUS' , 0x005); +addCode('NO_COOKIES' , 0x006); +addCode('CNTR_FAILED' , 0x008); +addCode('LOGOUT_DONE' , 0x008); +addCode('LOGOUT_FAILED' , 0x009); +addCode('URL_TLOCK' , 0x00a); +addCode('URL_FOUND' , 0x00b); +addCode('OVERLENGTH' , 0x00c); +addCode('SUBJ_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('ACCOUNT_LOCKED' , 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); // Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!) define('SERVER_URL', "http://www.mxchange.org"); @@ -101,8 +101,10 @@ setConfigEntry('one_day', (60*60*24)); define('START_YDAY', MAKE_TIME(0, 0, 0, time() - getConfig('one_day'))); define('START_TDAY', MAKE_TIME(0, 0, 0, time())); -// Current SVN revision -define('CURR_SVN_REVISION', getActualVersion('Revision'));define('CURR_SVN_DATE' , getActualVersion('Date')); +// Current SVN revision and date +define('CURR_SVN_REVISION', getActualVersion('Revision')); +define('CURR_SVN_DATE' , getActualVersion('Date')); + // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623);