@@ -108,13 +108,13 @@ |
||
108 | 108 | public function set($key, $data, $ttl = 0) { |
109 | 109 | $expire = time() + $ttl; |
110 | 110 | $this->logger->debug('Setting cache data for key [' . $key . '], ' |
111 | - . 'time to live [' . $ttl . '], ' |
|
112 | - . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']'); |
|
111 | + . 'time to live [' . $ttl . '], ' |
|
112 | + . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']'); |
|
113 | 113 | $filePath = $this->getFilePath($key); |
114 | 114 | $handle = fopen($filePath, 'w'); |
115 | 115 | if (!is_resource($handle)) { |
116 | 116 | $this->logger->error('Can not open the file cache ' |
117 | - . '[' . $filePath . '] for the key [' . $key . '], return false'); |
|
117 | + . '[' . $filePath . '] for the key [' . $key . '], return false'); |
|
118 | 118 | return false; |
119 | 119 | } |
120 | 120 | flock($handle, LOCK_EX); // exclusive lock, will get released when the file is closed |