diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-30 01:33:17 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-30 01:33:17 +0000 |
commit | a724915f82a0c25cabe60561cd9b4f7f72541734 (patch) | |
tree | 6601c55abe4005404aec5ef7f3aa94e74fd93411 /includes/stream_wrappers.inc | |
parent | d97f4bdba3e29ea63f488e56f5141a203b7b2171 (diff) | |
download | brdo-a724915f82a0c25cabe60561cd9b4f7f72541734.tar.gz brdo-a724915f82a0c25cabe60561cd9b4f7f72541734.tar.bz2 |
#551658 by pwolanin, aaron, drewish: Move private files to an opt-in system, and no longer force private files to live within web-accessible directory.
Diffstat (limited to 'includes/stream_wrappers.inc')
-rw-r--r-- | includes/stream_wrappers.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/stream_wrappers.inc b/includes/stream_wrappers.inc index 288c3979d..87acc5440 100644 --- a/includes/stream_wrappers.inc +++ b/includes/stream_wrappers.inc @@ -657,7 +657,7 @@ class DrupalPrivateStreamWrapper extends DrupalLocalStreamWrapper { * Implements abstract public function getDirectoryPath() */ public function getDirectoryPath() { - return variable_get('file_private_path', conf_path() . '/private/files'); + return variable_get('file_private_path', ''); } /** @@ -684,7 +684,7 @@ class DrupalTemporaryStreamWrapper extends DrupalLocalStreamWrapper { * Implements abstract public function getDirectoryPath() */ public function getDirectoryPath() { - return variable_get('file_temporary_path', conf_path() . '/private/temp'); + return variable_get('file_temporary_path', sys_get_temp_dir()); } /** |