Removes temp dir references.

This commit is contained in:
Lars Jung 2012-10-05 21:27:27 +02:00
parent f6832982bb
commit e53f261c69
4 changed files with 2 additions and 15 deletions

View file

@ -29,7 +29,7 @@ class Archive {
return 404;
}
$target = $this->h5ai->getTempAbsPath() . "/package-" . sha1(microtime(true) . rand()) . "." . $format;
$target = $this->h5ai->getCacheAbsPath() . "/package-" . sha1(microtime(true) . rand()) . "." . $format;
try {
if ($execution === "shell") {

View file

@ -127,13 +127,6 @@ class H5ai {
}
public function getTempAbsPath() {
// return H5ai::normalize_path(sys_get_temp_dir());
return $this->h5aiAbsPath . '/cache';
}
public function getOptions() {
return $this->options;