![]() |
|
Thread Tools |
#1
|
|||
|
|||
External pages using templates
I created a custom 404 page using this:
http://www.vbseo.com/f34/create-cust...seo-use-11288/ It works fine inside the forums directory, but I would like it to work on the root as well. As it stands I get php errors: http://www.tenstones.net/404.php My .htaccess in the root points to /forums/404.php Because it calls misc.php it needs global.php which I added to the root and edited to also point to /forums/ for all the files it calls, which leads to init.php and it continues. I even went as far as to copy the entire root and I have tried the intergration built into vBadvance which also didn't work. I'm fresh out of ideas.
__________________
Tenstones Gaming Community No members have liked this post.
|
#2
|
|||
|
|||
Why would you change the structure of the filesystem? Just change the current working directory to your forums root before you include any files using the 'chdir' function if you need to include files from that directory.
http://us3.php.net/chdir No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:33.