X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=5103339448060613dbfbff241ebddd53eb6b9fc3;hb=023d240bd9154811e5ebca23892ed06fefc72c08;hp=99718e51dce93c7ab2f6b1c55b8d962cac97fe94;hpb=5071030af40e69ca4284642f44758964e18f5be8;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index 99718e51dc..5103339448 100644 --- a/inc/libs/active_functions.php +++ b/inc/libs/active_functions.php @@ -1,7 +1,7 @@ "".getConfig('menu_blur_spacer').GUEST_ACTIVE_LINK."", - 'what' => 'active' - ); + die(); +} // END - if - // Add link to "we were active today" page - LOAD_TEMPLATE("guest_menu_bottom", false, $content); +// Wrapper function for 'active_limit' +function getActiveLimit () { + // Is there cache? + if (!isset($GLOBALS[__FUNCTION__])) { + // Get config entry + $GLOBALS[__FUNCTION__] = getConfig('active_limit'); } // END - if + + // Return cache + return $GLOBALS[__FUNCTION__]; } -// +// [EOF] ?>