mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2025-04-02 21:06:19 +03:00
Fix typo in memcache constructor
This commit is contained in:
parent
b88a6f4947
commit
e885ef9196
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage
|
|||
// Set a new Memcache object and connect to the Memcache server
|
||||
$this->_memcache = new Memcache();
|
||||
if (!$this->_memcache->addServer($memcacheServer, $memcachePort, false, 50, 5, 5, true, array($this, 'failureCallback'))) {
|
||||
throw new PHPExcel_Exception("Could not connect to MemCache server at {$memcacheServer}:{$memcachePort}";
|
||||
throw new PHPExcel_Exception("Could not connect to MemCache server at {$memcacheServer}:{$memcachePort}");
|
||||
}
|
||||
$this->_cacheTime = $cacheTime;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue