@@ -167,7 +167,7 @@ |
||
| 167 | 167 | } else { |
| 168 | 168 | return true; |
| 169 | 169 | } |
| 170 | - }catch(SSDBException $e){ |
|
| 170 | + } catch(SSDBException $e){ |
|
| 171 | 171 | throw new phpFastCacheDriverException('Ssdb failed to connect with error: '. $e->getMessage(), 0 , $e); |
| 172 | 172 | } |
| 173 | 173 | } |
@@ -158,8 +158,7 @@ |
||
| 158 | 158 | ->setData(implode(', ', array_keys($this->itemInstances))) |
| 159 | 159 | ->setInfo(sprintf("Xcache v%s with following modules loaded:\n %s", XCACHE_VERSION, str_replace(' ', ', ', XCACHE_MODULES))) |
| 160 | 160 | ->setRawData($info); |
| 161 | - } |
|
| 162 | - else |
|
| 161 | + } else |
|
| 163 | 162 | { |
| 164 | 163 | throw new \RuntimeException("PhpFastCache is not able to read Xcache configuration. Please put this to your php.ini:\n |
| 165 | 164 | [xcache.admin] |