Updates Thumb to use defined paths.

This commit is contained in:
Lars Jung 2012-08-13 21:34:06 +02:00
parent 09abaa9a3c
commit 1458623998
2 changed files with 23 additions and 17 deletions

View file

@ -86,19 +86,6 @@ class H5ai {
}
public function getCacheAbsPath() {
return $this->h5aiAbsPath . '/cache';
}
public function getTempAbsPath() {
// return H5ai::normalize_path(sys_get_temp_dir());
return $this->h5aiAbsPath . '/cache';
}
public function getRootAbsHref() {
return $this->rootAbsHref;
@ -111,6 +98,25 @@ class H5ai {
}
public function getCacheAbsPath() {
return $this->h5aiAbsPath . '/cache';
}
public function getCacheAbsHref() {
return $this->h5aiAbsHref . 'cache/';
}
public function getTempAbsPath() {
// return H5ai::normalize_path(sys_get_temp_dir());
return $this->h5aiAbsPath . '/cache';
}
public function getOptions() {
return $this->options;