Skip to content

Commit 46a9349

Browse files
committed
Version 1.2.1 commit
1 parent 6716071 commit 46a9349

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
**1.2.1** :: *February 13, 2016*
4+
5+
- Fixed uncompress bug.
6+
37
**1.2.0** :: *July 13, 2015*
48

59
- Implemented cache config file to save the cache file configurations.

src/EasyCache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace iProDev\Util;
44

55
/*
6-
* EasyCache v1.2.0
6+
* EasyCache v1.2.1
77
*
88
* By Hemn Chawroka
99
* http://iprodev.com
@@ -81,7 +81,7 @@ public function get($cache_key) {
8181
$data = file_get_contents($this->cache_path . $this->safe_filename($cache_key) . $this->cache_extension);
8282
$uncompress = $this->compress_level > 0;
8383

84-
if ($config && isset($config['compressed']))
84+
if ($config && isset($config['compressed']) && $config['compressed'])
8585
$uncompress = true;
8686

8787
// Uncompress

0 commit comments

Comments
 (0)