mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Minor improvements (#890)
This commit is contained in:
parent
339f0ef948
commit
f4fc5d7cdf
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ $bb_cfg['script_path'] = '/'; // The path where FORUM is located relative to the
|
|||
$bb_cfg['gzip_compress'] = false; // compress output
|
||||
|
||||
// Tracker
|
||||
$bb_cfg['announce_interval'] = 2400; // Announce interval (default: 1800)
|
||||
$bb_cfg['announce_interval'] = 2400; // Announce interval (default: 2400)
|
||||
$bb_cfg['passkey_key'] = 'uk'; // Passkey key name in GET request
|
||||
$bb_cfg['ignore_reported_ip'] = false; // Ignore IP reported by client
|
||||
$bb_cfg['verify_reported_ip'] = true; // Verify IP reported by client against $_SERVER['HTTP_X_FORWARDED_FOR']
|
||||
|
|
|
@ -350,7 +350,7 @@ class Post
|
|||
$watch_list = DB()->fetch_rowset("SELECT u.username, u.user_id, u.user_email, u.user_lang
|
||||
FROM " . BB_TOPICS_WATCH . " tw, " . BB_USERS . " u
|
||||
WHERE tw.topic_id = $topic_id
|
||||
AND tw.user_id NOT IN (" . $userdata['user_id'] . ", " . EXCLUDED_USERS . $get_banned_users . ")
|
||||
AND tw.user_id NOT IN ({$userdata['user_id']}, " . EXCLUDED_USERS . $get_banned_users . ")
|
||||
AND tw.notify_status = " . TOPIC_WATCH_NOTIFIED . "
|
||||
AND u.user_id = tw.user_id
|
||||
AND u.user_active = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue