From 9b2bf38e836632e0395cd2673fc397dfcccc4630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 27 Dec 2007 17:25:28 +0000 Subject: #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 --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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'); } /** -- cgit v1.2.3