@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Construct new ApcCache instance |
| 35 | 35 | */ |
| 36 | - public function __construct() { |
|
| 36 | + public function __construct() { |
|
| 37 | 37 | parent::__construct(); |
| 38 | 38 | if (!$this->isSupported()) { |
| 39 | 39 | show_error('The cache for APC[u] driver is not available. Check if APC[u] extension is loaded and enabled.'); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | public function set($key, $data, $ttl = 0) { |
| 80 | 80 | $expire = time() + $ttl; |
| 81 | 81 | $this->logger->debug('Setting cache data for key [' . $key . '], time to live [' . $ttl . '], ' |
| 82 | - . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']'); |
|
| 82 | + . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']'); |
|
| 83 | 83 | $result = apc_store($key, $data, $ttl); |
| 84 | 84 | if ($result === false) { |
| 85 | 85 | $this->logger->error('Can not save cache data for the key [' . $key . '], return false'); |
@@ -140,11 +140,11 @@ |
||
| 140 | 140 | //NOTE: here need put the show_error() "logging" to false |
| 141 | 141 | //to prevent self function loop call |
| 142 | 142 | show_error('Invalid config log level [' . $configLogLevel . '], ' |
| 143 | - . 'the value must be one of the following: ' |
|
| 144 | - . implode(', ', array_map('strtoupper', self::$validConfigLevel)) |
|
| 145 | - , 'Log Config Error', |
|
| 146 | - $logging = false |
|
| 147 | - ); |
|
| 143 | + . 'the value must be one of the following: ' |
|
| 144 | + . implode(', ', array_map('strtoupper', self::$validConfigLevel)) |
|
| 145 | + , 'Log Config Error', |
|
| 146 | + $logging = false |
|
| 147 | + ); |
|
| 148 | 148 | return; |
| 149 | 149 | } |
| 150 | 150 | |