mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-22 04:07:04 +02:00
[ticket/9758] Adds global template variable CURRENT_USER_AVATAR
PHPBB3-9758
This commit is contained in:
@@ -16,6 +16,10 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||
include($phpbb_root_path . 'common.' . $phpEx);
|
||||
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
||||
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
|
||||
if (!function_exists('phpbb_get_user_avatar'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions.' . $phpEx);
|
||||
}
|
||||
|
||||
// Start session management
|
||||
$user->session_begin();
|
||||
|
Reference in New Issue
Block a user