// Determines whether the "bonus rallye" is active
function isBonusRallyeActive () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS['bonus_rallye_active'])) {
// Just determine it
$GLOBALS['bonus_rallye_active'] = (getConfig('bonus_active') == 'Y');
// Determines whether the "bonus new_member_notify" is active
function isBonusNewMemberNotifyEnabled () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS['bonus_new_member_notify_active'])) {
// Just determine it
$GLOBALS['bonus_new_member_notify_active'] = (getConfig('bonus_new_member_notify') == 'Y');
// Getter for bonus_timeout
function getBonusTimeout () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('bonus_timeout');
// Getter for bonus_mode
function getBonusMode () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('bonus_mode');
// Getter for bonus_ranks
function getBonusRanks () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('bonus_ranks');
// Getter for turbo_rates
function getTurboRates () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('turbo_rates');
// Getter for login_timeout
function getLoginTimeout () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('login_timeout');
// Getter for bonus_ref
function getBonusRef () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('bonus_ref');