View Full Version : Trying to include global.php in subdomain
BamaStangGuy
05-24-2005, 02:19 AM
http://dev.mustangevolution.com/
Trying to get it to include global.php in my /forum directory http://www.mustangevolution.com/forum
Is this possible? If so how.
Paul M
05-24-2005, 02:23 AM
I would think it depends on your directory structure and apache settings - but why would you want to do such a thing anyway ?
BamaStangGuy
05-24-2005, 02:45 AM
I would think it depends on your directory structure and apache settings - but why would you want to do such a thing anyway ?
I want to use vbulletins permissions system on pages in that subdomain.
Logikos
05-24-2005, 02:54 AM
Use this
chdir('/home/httpd/vhosts/mustangevolution.com/public_html/');
require_once('./global.php');
Just gotta make sure your path to your forums is correct..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.