Sorry, I tried searching for this but it's such a general search there was far to many irrelevant results.
I'm writing a mod that needs to include some files within a function. The $phpbb_root_path var is not available. What's the best way to determine the root path? Should/can I just make $phpbb_root_path global?