default: // Do stuff when extension is loaded
// Remove old entries
- $OLD = $_CONFIG['beg_timeout'];
- if ($_CONFIG['beg_uid_timeout'] > $OLD) $OLD = $_CONFIG['beg_uid_timeout'];
+ $OLD = getConfig('beg_timeout');
+ if (getConfig('beg_uid_timeout') > $OLD) $OLD = getConfig('beg_uid_timeout');
$result_ext = SQL_QUERY("DELETE LOW_PRIORITY FROM `"._MYSQL_PREFIX."_beg_ips` WHERE timeout < (UNIX_TIMESTAMP() -".($OLD + 60*60).")", __FILE__, __LINE__);
// Check for beg rallye is active and send mails out
- if (($_CONFIG['beg_rallye'] == "Y") && ($_CONFIG['beg_new_mem_notify'] == "Y")) {
+ if ((getConfig('beg_rallye') == "Y") && (getConfig('beg_new_mem_notify') == "Y")) {
// Include file for sending out mails
$INC_POOL[] = sprintf("%sinc/mails/beg_mails.php", PATH);
} // END - if