|
From: Meik S. <acy...@ph...> - 2009-08-17 15:45:20
|
Author: acydburn
Date: Mon Aug 17 16:45:07 2009
New Revision: 10009
Log:
no need to call generate_board_url() twice - r10008
Modified:
branches/phpBB-3_0_0/phpBB/includes/functions.php
Modified: branches/phpBB-3_0_0/phpBB/includes/functions.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/functions.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/functions.php Mon Aug 17 16:45:07 2009
***************
*** 1796,1802 ****
}
else
{
! $unread_topics_list[$topic_id] = $user_lastmark;
}
}
--- 1796,1802 ----
}
else
{
! $unread_topics_list[$topic_id] = $user_lastmark;
}
}
***************
*** 4091,4097 ****
// Determine board url - we may need it later
$board_url = generate_board_url() . '/';
! $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $phpbb_root_path;
// The following assigns all _common_ variables that may be used at any point in a template.
$template->assign_vars(array(
--- 4091,4097 ----
// Determine board url - we may need it later
$board_url = generate_board_url() . '/';
! $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? $board_url . '/' : $phpbb_root_path;
// The following assigns all _common_ variables that may be used at any point in a template.
$template->assign_vars(array(
|