// Remeber path
// Check if path exists
- if (isDirectory(getConfig('CACHE_PATH'))) {
+ if (isDirectory(getCachePath())) {
// Is there a .htaccess file?
- if (isFileReadable(getConfig('CACHE_PATH') . '.htaccess')) {
+ if (isFileReadable(getCachePath() . '.htaccess')) {
// All done!
$this->ret = $this->statusDone;
} else {
$this->name = $cacheName;
// Construct FQFN (full qualified file name)
- $this->fqfn = getConfig('CACHE_PATH') . $cacheName . $this->extension;
+ $this->fqfn = getCachePath() . $cacheName . $this->extension;
// Check if file exists and if version matches
if (!isset($this->status[$cacheName])) {