Log in

View Full Version : Scripts outside of the main directory?


kaosmoon
12-16-2004, 11:26 PM
Is there any easy way to utilize the vB backend outside of the main directory? Like if vb was at www.mydomain.com/vb/.... how could I use the infrastructure (like accessing the database) from www.mydomain.com/script.php? It seems like there must be heavy modding done. Am I missing an easy way to do it?

Link14716
12-17-2004, 04:06 AM
Yep.

chdir('./vb');

kaosmoon
12-17-2004, 05:33 PM
Thank ya much :)