summaryrefslogtreecommitdiff
path: root/includes/stream_wrappers.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-06-12 08:15:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-06-12 08:15:15 +0000
commit7affd91ab6cbef068b56d050c20224382d922d7f (patch)
treead200702d794fa1f85e365e995db753cd46250ba /includes/stream_wrappers.inc
parente0adb9306466fc738004e071e3f9b063441814e2 (diff)
downloadbrdo-7affd91ab6cbef068b56d050c20224382d922d7f.tar.gz
brdo-7affd91ab6cbef068b56d050c20224382d922d7f.tar.bz2
#551658 follow-up by pwolanin: Revert back to D6-style temporary folder logic to avoid various platform issues.
Diffstat (limited to 'includes/stream_wrappers.inc')
-rw-r--r--includes/stream_wrappers.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/stream_wrappers.inc b/includes/stream_wrappers.inc
index 38727aa14..13cd421d4 100644
--- a/includes/stream_wrappers.inc
+++ b/includes/stream_wrappers.inc
@@ -793,7 +793,7 @@ class DrupalTemporaryStreamWrapper extends DrupalLocalStreamWrapper {
* Implements abstract public function getDirectoryPath()
*/
public function getDirectoryPath() {
- return variable_get('file_temporary_path', sys_get_temp_dir());
+ return variable_get('file_temporary_path', file_directory_temp());
}
/**