summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-27 17:25:28 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-27 17:25:28 +0000
commit9b2bf38e836632e0395cd2673fc397dfcccc4630 (patch)
tree5b8663b007981de0df34ac7aafe240ff144345be /includes
parent79d927f7aa76dc0b0eaf103d5e7bfb9072247b47 (diff)
downloadbrdo-9b2bf38e836632e0395cd2673fc397dfcccc4630.tar.gz
brdo-9b2bf38e836632e0395cd2673fc397dfcccc4630.tar.bz2
#194369 by lots of contributors: move default files directory to sites/default/files which can be created automatically on install, so no need to bug the user about it, making the install process easier
Diffstat (limited to 'includes')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 452ffec1f..384bd1ef4 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', 'files');
+ return variable_get('file_directory_path', 'sites/default/files');
}
/**