diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-23 01:00:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-23 01:00:52 +0000 |
commit | cbd7938955e8efefc6cd0bd97f9bd6b99f7bd831 (patch) | |
tree | 28e0b0081227fd2dc20b78dfeb1b9504cf0982a1 /includes | |
parent | 2d1634134d7edd0554757d4180490e838e6001a4 (diff) | |
download | brdo-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.inc | 2 |
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); } |