Removed echo
This commit is contained in:
@@ -57,7 +57,7 @@ class BaseController extends Controller
|
|||||||
$cacheKey = CACHE_DOMAIN."-".$cacheKey;
|
$cacheKey = CACHE_DOMAIN."-".$cacheKey;
|
||||||
// $cache = \Config\Services::cache();
|
// $cache = \Config\Services::cache();
|
||||||
if (! $foo = cache($cacheKey)) {
|
if (! $foo = cache($cacheKey)) {
|
||||||
echo 'Saving to the cache!<br>';
|
// echo 'Saving to the cache!<br>';
|
||||||
// cache()->save($cacheKey, $this->data_stringify($data), 3000);
|
// cache()->save($cacheKey, $this->data_stringify($data), 3000);
|
||||||
cache()->save($cacheKey, serialize($data), 3000);
|
cache()->save($cacheKey, serialize($data), 3000);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user