fix problem with cache path
This commit is contained in:
parent
cbd49c3342
commit
d8d6ca5795
|
@ -74,12 +74,9 @@ class WsdlDownloader
|
||||||
|
|
||||||
// get current WSDL caching config
|
// get current WSDL caching config
|
||||||
$this->cacheEnabled = $cacheWsdl === Cache::TYPE_NONE ? Cache::DISABLED : Cache::ENABLED == Cache::isEnabled();
|
$this->cacheEnabled = $cacheWsdl === Cache::TYPE_NONE ? Cache::DISABLED : Cache::ENABLED == Cache::isEnabled();
|
||||||
|
|
||||||
if ($this->cacheEnabled) {
|
|
||||||
$this->cacheDir = Cache::getDirectory();
|
$this->cacheDir = Cache::getDirectory();
|
||||||
$this->cacheTtl = Cache::getLifetime();
|
$this->cacheTtl = Cache::getLifetime();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Download given WSDL file and return name of cache file.
|
* Download given WSDL file and return name of cache file.
|
||||||
|
|
Loading…
Reference in New Issue