_update_manager_extract_directory()Return the directory where update archive files should be extracted.
If the directory does not already exist, attempt to create it.
The full path to the temporary directory where update file archives should be extracted.
modules/update/update.manager.inc, line 635
<?php
function _update_manager_extract_directory() {
$directory = &drupal_static(__FUNCTION__, '');
if (empty($directory)) {
$directory = DRUPAL_ROOT . '/' . file_directory_path('temporary') . '/update-extraction';
if (!file_exists($directory)) {
mkdir($directory);
}
}
return $directory;
}
?>