We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6716071 commit 46a9349Copy full SHA for 46a9349
2 files changed
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+**1.2.1** :: *February 13, 2016*
4
+
5
+- Fixed uncompress bug.
6
7
**1.2.0** :: *July 13, 2015*
8
9
- Implemented cache config file to save the cache file configurations.
src/EasyCache.php
@@ -3,7 +3,7 @@
namespace iProDev\Util;
/*
- * EasyCache v1.2.0
+ * EasyCache v1.2.1
*
* By Hemn Chawroka
* http://iprodev.com
@@ -81,7 +81,7 @@ public function get($cache_key) {
81
$data = file_get_contents($this->cache_path . $this->safe_filename($cache_key) . $this->cache_extension);
82
$uncompress = $this->compress_level > 0;
83
84
- if ($config && isset($config['compressed']))
+ if ($config && isset($config['compressed']) && $config['compressed'])
85
$uncompress = true;
86
87
// Uncompress
0 commit comments