View Single Post
  #4  
Old 20th March 2013, 14:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,661 Times in 4,468 Posts
Default

Quote:
Which works, but would need hardcoding into every script on every site. I need a way of programmatically calculating the path to the private directory.
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote