10-17-2010, 01:12 PM
(10-17-2010, 11:08 AM)Omniscient Wrote: VB Should have definition for script path.
For MyBB it's MYBB_ROOT
You can also try using a global like $_SERVER['PATH_INFO'] or $_SERVER['DOCUMENT_ROOT']
Yep thats exactly the way i ended up going. However for some reason that did not work.
I did use the chdir option and that seemed to fix it.
Thanks for your help Omni.