]> git.mxchange.org Git - mailer.git/blobdiff - inc/databases.php
Required database changes for configuration entries in templates added
[mailer.git] / inc / databases.php
index ff3555e01e1c2a1b86b4dd921cea58af2731309f..7fe969cbaea12e654a44f895e723eb1ad31acb10 100644 (file)
@@ -80,7 +80,7 @@ addCode('UNHANDLED_STATUS' , 0x022);
 addCode('MODULE_MEM_ONLY'  , 0x023);
 
 // Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!)
-define('SERVER_URL', 'http://www.mxchange.org');
+setConfigEntry('SERVER_URL', 'http://www.mxchange.org');
 
 // Replacement strings
 $GLOBALS['replacer'] = array(
@@ -93,7 +93,6 @@ $GLOBALS['replacer'] = array(
 // One day
 setConfigEntry('one_day', (60*60*24));
 
-//
 // Timestamp for yesterday, today ... all at 00:00 am
 setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getConfig('one_day')));
 setConfigEntry('START_TDAY', makeTime(0, 0, 0, time()));
@@ -105,7 +104,7 @@ setConfigEntry('_PRIME', 591623);
 setConfigEntry('_ADD', (getConfig('_PRIME') * getConfig('_PRIME') / (pi() * getConfig('code_length') + 1)));
 
 // Random number for e.g. the "cache-buster" used in OpenX script
-define('CACHE_BUSTER', mt_rand(1000000, 9999999));
+setConfigEntry('CACHE_BUSTER', mt_rand(1000000, 9999999));
 
 // HTTP-EOL
 setConfigEntry('HTTP_EOL', "\r\n");