Saturday, November 14, 2009

Drupal upload path

To get where is the default path to upload file of the site:
file_directory_path()
example return: sites/xyz.com/files

Reference:
http://api.drupal.org/api/group/file/6

Other interesting discussion here:
http://groups.drupal.org/node/13420

No comments: