X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=568fc1bdbe02b9be8667e31fc3e55bccff766db1;hb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;hp=b3c079aac547672ef5f4006f00b9be4f887c94b1;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index b3c079aac5..568fc1bdbe 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] ?>