[ticket/469] Correctly create path to images on pages outside root

B3P-469
This commit is contained in:
Marc Alexander
2015-02-14 22:30:57 +01:00
parent 8e85752c65
commit cfa2657da4
2 changed files with 3 additions and 3 deletions

View File

@@ -276,7 +276,7 @@ class main
'S_BOTTOM_COLUMN' => $this->check_module_count('bottom'),
'S_DISPLAY_PHPBB_MENU' => $this->config['board3_phpbb_menu'],
'B3P_DISPLAY_JUMPBOX' => $this->config['board3_display_jumpbox'],
'T_EXT_THEME_PATH' => $this->path_helper->get_web_root_path() . $this->root_path . 'styles/' . $this->user->style['style_path'] . '/theme/',
'T_EXT_THEME_PATH' => $this->path_helper->get_web_root_path() . ltrim($this->root_path . 'styles/' . $this->user->style['style_path'] . '/theme/', './'),
));
}