[ticket/11874] Do not always prepend the web path; only replace phpbb_root_path

http://tracker.phpbb.com/browse/PHPBB3-11874