1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13276] Support PHPBB_USE_BOARD_URL_PATH in web root path

PHPBB3-13276
This commit is contained in:
Marc Alexander
2023-06-30 16:42:27 +02:00
parent 22d6b035d6
commit a686a2f057
7 changed files with 15 additions and 17 deletions

View File

@@ -1088,7 +1088,7 @@ function smiley_text($text, $force_option = false)
}
else
{
$root_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $phpbb_path_helper->get_web_root_path();
$root_path = $phpbb_path_helper->get_web_root_path();
/**
* Event to override the root_path for smilies