Topic: What produces the 'message' page after registration?
I'm trying to use PunBB registration as registration for my main site. So PunBB is in a folder called 'forum' and I'm trying to make script files like register.php work on the root level.
I managed to get most of it working, but when I register the 'Thank you for registering...' message is output on a very ugly html page that apparantly attempts to pull the header and footer from the 'forum' folder. I get this error:
Warning: include(../common/footer.php) [function.include]: failed to open stream: No such file or directory in /home/mysite/public_html/forum/footer.php on line 102
Warning: include() [function.include]: Failed opening '../common/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/forum/footer.php on line 102
Apparently the line below from register.php produces the ugly html file:
message($lang_register['Reg e-mail'].' <a href="mailto:'.$pun_config['o_admin_email'].'">'.$pun_config['o_admin_email'].'</a>.', true);
Where does 'message' get its template or header/footer from? How can I force it to use my own customized punheader.php and punfooter.php?