in all mentioned files we have:

...

$phpbb_root_path = "./../";

require($phpbb_root_path . 'extension.inc');

...

so I would like to see how this can work...