1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Forum Template BC fixes. Old template will be used if bootstrap not found.

This commit is contained in:
Cameron
2013-03-19 19:04:32 -07:00
parent c93a6b926e
commit 39c63313d7
10 changed files with 63 additions and 121 deletions

View File

@@ -1603,6 +1603,7 @@ function init_session()
define('GUEST', true);
define('USERCLASS', '');
define('USEREMAIL', '');
define('USERSIGNATURE', '');
if($user->hasSessionError())
{
@@ -1623,6 +1624,7 @@ function init_session()
define('USERPHOTO', $user->get('user_sess'));
define('USERJOINED', $user->get('user_join'));
define('USERVISITS', $user->get('user_visits'));
define('USERSIGNATURE', $user->get('user_signature'));
define('ADMIN', $user->isAdmin());
define('ADMINID', $user->getAdminId());