- Patch #194369 by webernet: fixed the default files directory on multi-site setups.

6.x
Dries Buytaert 2007-12-28 10:50:51 +00:00
parent fc2805b30a
commit fd85066b7c
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ function file_directory_temp() {
* @return A string containing the path to Drupal's 'files' directory.
*/
function file_directory_path() {
return variable_get('file_directory_path', 'sites/default/files');
return variable_get('file_directory_path', conf_path() .'/files');
}
/**