fix problem with cache path

This commit is contained in:
Andreas Schamberger 2013-08-24 09:39:56 +02:00
parent cbd49c3342
commit d8d6ca5795
1 changed files with 2 additions and 5 deletions

View File

@ -74,12 +74,9 @@ class WsdlDownloader
// get current WSDL caching config
$this->cacheEnabled = $cacheWsdl === Cache::TYPE_NONE ? Cache::DISABLED : Cache::ENABLED == Cache::isEnabled();
if ($this->cacheEnabled) {
$this->cacheDir = Cache::getDirectory();
$this->cacheTtl = Cache::getLifetime();
}
}
/**
* Download given WSDL file and return name of cache file.