summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-23 01:00:52 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-23 01:00:52 +0000
commitcbd7938955e8efefc6cd0bd97f9bd6b99f7bd831 (patch)
tree28e0b0081227fd2dc20b78dfeb1b9504cf0982a1 /includes
parent2d1634134d7edd0554757d4180490e838e6001a4 (diff)
downloadbrdo-cbd7938955e8efefc6cd0bd97f9bd6b99f7bd831.tar.gz
brdo-cbd7938955e8efefc6cd0bd97f9bd6b99f7bd831.tar.bz2
- Patch #611032 by c960657: fixed bug with wrong variable used in file_build_uri(). Added tests.
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 bf4996567..dc31859db 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -657,7 +657,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
* Given a relative path, construct a URI into Drupal's default files location.
*/
function file_build_uri($path) {
- $uri = variable_get('file_scheme_default', 'public') . '://' . $path;
+ $uri = variable_get('file_default_scheme', 'public') . '://' . $path;
return file_stream_wrapper_uri_normalize($uri);
}