diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-14 04:50:18 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-14 04:50:18 +0000 |
commit | 3d77abdd37a01342ce81548c5506abf75cb39e1a (patch) | |
tree | a3e3caaeafab36ce8b92832e4bbf811f2adf8afe /modules/update | |
parent | 9b54c79c868cd310ca8c6ea77fbb337c543f9682 (diff) | |
download | brdo-3d77abdd37a01342ce81548c5506abf75cb39e1a.tar.gz brdo-3d77abdd37a01342ce81548c5506abf75cb39e1a.tar.bz2 |
#790224 by lotyrin, pwolanin, nenne: Fixed incorrect paths to temp directory in Update Manager.
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.manager.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc index 48f88d07e..39540cbd6 100644 --- a/modules/update/update.manager.inc +++ b/modules/update/update.manager.inc @@ -635,7 +635,7 @@ function update_manager_install_form_submit($form, &$form_state) { function _update_manager_extract_directory() { $directory = &drupal_static(__FUNCTION__, ''); if (empty($directory)) { - $directory = DRUPAL_ROOT . '/' . file_directory_path('temporary') . '/update-extraction'; + $directory = 'temporary://update-extraction'; if (!file_exists($directory)) { mkdir($directory); } @@ -708,8 +708,8 @@ function update_manager_file_get($url) { } // Check the cache and download the file if needed. - $local = 'temporary://update-cache/' . basename($parsed_url['path']); - $cache_directory = DRUPAL_ROOT . '/' . file_directory_path('temporary') . '/update-cache/'; + $cache_directory = 'temporary://update-cache'; + $local = $cache_directory . '/' . basename($parsed_url['path']); if (!file_exists($cache_directory)) { mkdir($cache_directory); |