X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Factive_functions.php;h=568fc1bdbe02b9be8667e31fc3e55bccff766db1;hb=6b2fd39cc3c1d16e4495bbf2645e77be3fa2badd;hp=b7c1c49f378d58bb97e217b0a80ef9d5ac7dc93f;hpb=21a24662ddc70624c27c607e3904aab23e893898;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index b7c1c49f37..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] ?>