From 423882a5a444cb146ea73e29cb865c5d7bebaae3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 23 Mar 2018 00:15:59 +0300 Subject: [PATCH] Cache Flextype::VERSION for cache key - added --- flextype/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Cache.php b/flextype/Cache.php index 83fe7d94..03be9e78 100755 --- a/flextype/Cache.php +++ b/flextype/Cache.php @@ -68,7 +68,7 @@ class Cache static::$now = time(); // Cache key allows us to invalidate all cache on configuration changes. - static::$key = (Config::get('site.cache.prefix') ? Config::get('site.cache.prefix') : 'flextype') . '-' . md5(ROOT_DIR); + static::$key = (Config::get('site.cache.prefix') ? Config::get('site.cache.prefix') : 'flextype') . '-' . md5(ROOT_DIR . Flextype::VERSION); // Get Cache Driver static::$driver = static::getCacheDriver();