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:
Roman Kelesidis 2023-05-28 15:21:17 +07:00 committed by GitHub
commit 737b7b992b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 12 deletions

View file

@ -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'] . '" />',