Commit fd85066b authored by Dries's avatar Dries
Browse files

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

parent fc2805b3
......@@ -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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment