mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 16:14:16 +02:00
Cache Flextype::VERSION for cache key - added
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user