diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-20 17:05:58 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-20 17:05:58 +0100 |
commit | f62747451d1f040b36db7611255d7c1b3cdffcdf (patch) | |
tree | bdbf06d942fb0a19454d987de0d89f142709013c /system/libraries/Cache/drivers/Cache_apc.php | |
parent | bb3edf12d0ca82c62f7b7d570108375ec4379749 (diff) |
Don't use error suppression on ini_get() either
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_apc.php')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_apc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_apc.php b/system/libraries/Cache/drivers/Cache_apc.php index d062103bd..de849c7e8 100644 --- a/system/libraries/Cache/drivers/Cache_apc.php +++ b/system/libraries/Cache/drivers/Cache_apc.php @@ -187,7 +187,7 @@ class CI_Cache_apc extends CI_Driver { */ public function is_supported() { - if ( ! extension_loaded('apc') OR ! (bool) @ini_get('apc.enabled')) + if ( ! extension_loaded('apc') OR ! ini_get('apc.enabled')) { log_message('debug', 'The APC PHP extension must be loaded to use APC Cache.'); return FALSE; |