[develop] Updated $phpbb_root_path to use $root_path instead

Built the $root_path from the URL path and the existing $phpbb_root_path

This is my first commit to phpBB so I apoligize in advance if I did
something wrong

PHPBB3-11486