2015-10-10, 05:18 PM
I'm trying to figure out the differences between index.php and forumdisplay.php so I can isolate the thread list code.
In index.php there is reference to logout link at beginning:
And no such reference in forumdisplay.php. Yet the latter does show the logout link just fine. So how does that work?
I removed that code from index.php and see no difference. Does it have any use?
In index.php there is reference to logout link at beginning:
$logoutlink = '';
if($mybb->user['uid'] != 0)
{
eval('$logoutlink = "'.$templates->get('index_logoutlink').'";');
}
And no such reference in forumdisplay.php. Yet the latter does show the logout link just fine. So how does that work?
I removed that code from index.php and see no difference. Does it have any use?