mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update thanks.php
This commit is contained in:
parent
506c428fde
commit
511f2d545e
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ if (!$poster_id = (int)$this->request['poster_id']) {
|
||||||
$this->ajax_die($lang['NO_USER_ID_SPECIFIED']);
|
$this->ajax_die($lang['NO_USER_ID_SPECIFIED']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$cache_lifetime = 3600;
|
||||||
|
$thanks_cache_key = 'topic_thanks_' . $topic_id;
|
||||||
|
|
||||||
switch ($mode) {
|
switch ($mode) {
|
||||||
case 'add':
|
case 'add':
|
||||||
if (IS_GUEST) {
|
if (IS_GUEST) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue