diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-12-28 10:50:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-12-28 10:50:51 +0000 |
commit | fd85066b7cef87e7d73a12ec93e8c38cb04436fe (patch) | |
tree | 4755c3ce8777dd3569b0c7c3878b8694a16b26ac /includes | |
parent | fc2805b30afb132d0f547038229da178884a9b2f (diff) | |
download | brdo-fd85066b7cef87e7d73a12ec93e8c38cb04436fe.tar.gz brdo-fd85066b7cef87e7d73a12ec93e8c38cb04436fe.tar.bz2 |
- Patch #194369 by webernet: fixed the default files directory on multi-site setups.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index 384bd1ef4..b6231e4b1 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -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'); } /** |