Umpakati
04-21-2005, 10:35 PM
Hello,
I have a website that I am testing in a different subdirectory (dev/) than my forums (forums/). Getting global.php to include on the page is no problem...
<?php
chdir("/home/nykcity/public_html/forums/");
require_once('./global.php');
chdir("/home/nykcity/public_html/dev/");
?>
However, if I go to my dev/index.php (where the ONLY reference to my vBulletin board is that one line up top)... I am taken to what looks like my FORUM'S index.php. When I remove that line, no problem, my site displays as normal. Any ideas?
Thanks,
-Phil
I have a website that I am testing in a different subdirectory (dev/) than my forums (forums/). Getting global.php to include on the page is no problem...
<?php
chdir("/home/nykcity/public_html/forums/");
require_once('./global.php');
chdir("/home/nykcity/public_html/dev/");
?>
However, if I go to my dev/index.php (where the ONLY reference to my vBulletin board is that one line up top)... I am taken to what looks like my FORUM'S index.php. When I remove that line, no problem, my site displays as normal. Any ideas?
Thanks,
-Phil