6 Nov
2009
6 Nov
'09
6:20 a.m.
On Thu, 05 Nov 2009 22:06:55 -0500, Jeff Greenberg <jeff@ayendesigns.com> wrote:
me sites/default/files which is great if I have something to append it to, such as /users/myusername/public_html/mydomain.com/drupal but in looking at the descriptions of the various file api functions/vars, I don't seem to see one that does that as opposed to checking this, verifying that, etc. The PHP global variable $_SERVER['DOCUMENT_ROOT'] should tell you where your site lives in the file system for Apache.