mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Use define instead of tpl variable (#726)
* COOKIE_MARK * Use U_INDEX * Removed BB_ROOT * ONLY_NEW_TOPICS, ONLY_NEW_POSTS
This commit is contained in:
parent
af1924e04a
commit
737b7b992b
6 changed files with 7 additions and 12 deletions
|
@ -193,12 +193,8 @@ $template->assign_vars(array(
|
|||
|
||||
'AJAX_HTML_DIR' => AJAX_HTML_DIR,
|
||||
|
||||
'ONLY_NEW_POSTS' => ONLY_NEW_POSTS,
|
||||
'ONLY_NEW_TOPICS' => ONLY_NEW_TOPICS,
|
||||
|
||||
// Misc
|
||||
'BOT_UID' => BOT_UID,
|
||||
'COOKIE_MARK' => COOKIE_MARK,
|
||||
'SID' => $userdata['session_id'],
|
||||
'SID_HIDDEN' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue