Quote:
Originally Posted by Andrew111888
It's been a long time since I've been here.
Anyway, I am attempting to put a vB-integrated file in a folder that's not the forum folder.
-public_html
--forum
--reviews
I'm trying to get the file to be based on a template and work with the forum. However, any time I go to it I'll get one of the various error messages because the 'require' path is based on the current directory, not the absolute path.
So, rather than go through all these files and change the paths to their absolute paths, is there any other way I could accomplish this?
Thanks.
|
At the begining of the file, you need to chdir, its best for system preformace if you can use a full path.