mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Updated
This commit is contained in:
parent
fc28d620b0
commit
a9e9632c7f
3 changed files with 9 additions and 3 deletions
|
@ -12,12 +12,12 @@ define('IN_PROFILE', true);
|
|||
|
||||
require __DIR__ . '/common.php';
|
||||
|
||||
// Start session management
|
||||
$user->session_start();
|
||||
|
||||
// Disable canonical for this page
|
||||
$page_cfg['canonical_link'] = false;
|
||||
|
||||
// Start session management
|
||||
$user->session_start();
|
||||
|
||||
set_die_append_msg();
|
||||
$mode = request_var('mode', 'viewprofile');
|
||||
|
||||
|
|
|
@ -19,6 +19,9 @@ $page_cfg['load_tpl_vars'] = [
|
|||
'topic_icons'
|
||||
];
|
||||
|
||||
// Disable canonical for this page
|
||||
$page_cfg['canonical_link'] = false;
|
||||
|
||||
// Start session management
|
||||
$user->session_start(array('req_login' => $bb_cfg['disable_search_for_guest']));
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@ $page_cfg['load_tpl_vars'] = [
|
|||
'post_icons'
|
||||
];
|
||||
|
||||
// Disable canonical for this page
|
||||
$page_cfg['canonical_link'] = false;
|
||||
|
||||
// Session start
|
||||
$user->session_start(array('req_login' => $bb_cfg['bt_tor_browse_only_reg']));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue