[ticket/11832] Use dirname(__FILE__)

PHPBB3-11832