You might have noticed that all URLs that are used by Phorum
are full absolute URLs. Phorum does not use relative URLs anywhere.
and all of the URLs that point to Phorum PHP scripts are generated
by the function
phorum_get_url(). This was done
for several reasons. Here are some of them, for the curious
http://www.example.com), causing possible loss of cookies as a result (since cookies bind to domains). Loss of cookies result in the user being logged out.
<base href="..."/>in there, pointing at the URL where the original site exists. After doing so, the header template can use the same constructions and paths as the main site's header template.
phorum_get_url()generate all URLs, we are prepared for future changes and new features. If changes are needed in the URL schema, we only have to update this function and nothing further. All core code and modules that use this function will automatically follow the changes.