Forum Moderators: coopster
So it's
route
-----> www
----------> forum
Most my website is called using a php script that calls everything into the main index.php (I don't know what they're called)
Anyway, I would like to call my minibb forum into my index like I have the rest of the website, but it is not working.
Anyone who can help?
in index.html you want to have:
if($forum == 1) include("www/forum/forum.html"); //go to the forum
And here comes the problem. Because for the program to work correctly all the links in forum have to look like this:
include("www/forum/inc/function.inc.php");
whereas they are like this:
include("inc/function.inc.php");
This problem appears, because your forum catalogue is not www/forum/ anymore, but plain www.example.com
Hope this helps you
Michal Cibor