View Single Post
Old 20th March 2013, 14:55
trigar trigar is offline
Junior Member
Join Date: Jun 2006
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts

Originally Posted by till View Post
This des not require hardcoding as this path contains the domain name and you should be able to get it for the local site from within your script e.g. from apache server variables or you get the path your current script is running in and use this as basis to calculate the private dir path.
Yes, you're right, the environment variables have it.

Thank you!
Chris Roberts
Reply With Quote