[ticket/11850] Add test for outside of the phpBB directory

PHPBB3-11850