mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixes #3681 - Properly detect antiflood and online tracking prefs
- e_TRACKING_DISABLED is now properly defined when user tracking is turned off ('track_online'). - Use correct antiflood pref ('antiflood1') - Remove old 'flood_protect' pref (which was not used anymore)
This commit is contained in:
@@ -73,7 +73,7 @@ class online_shortcodes extends e_shortcode
|
||||
|
||||
function sc_online_tracking_disabled()
|
||||
{
|
||||
$url = e_ADMIN."users.php?mode=main&action=prefs";
|
||||
$url = e_ADMIN_ABS."users.php?mode=main&action=prefs";
|
||||
|
||||
$srch = array("[","]");
|
||||
$repl = array("<a href='".$url."'>", "</a>");
|
||||
|
Reference in New Issue
Block a user