|
@@ -15,7 +15,6 @@
|
|
|
namespace Cake\Cache\Engine;
|
|
namespace Cake\Cache\Engine;
|
|
|
|
|
|
|
|
use Cake\Cache\CacheEngine;
|
|
use Cake\Cache\CacheEngine;
|
|
|
-use Cake\Utility\Inflector;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Wincache storage engine for cache
|
|
* Wincache storage engine for cache
|
|
@@ -41,9 +40,6 @@ class WincacheEngine extends CacheEngine {
|
|
|
* @return bool True if the engine has been successfully initialized, false if not
|
|
* @return bool True if the engine has been successfully initialized, false if not
|
|
|
*/
|
|
*/
|
|
|
public function init(array $config = []) {
|
|
public function init(array $config = []) {
|
|
|
- if (!isset($config['prefix'])) {
|
|
|
|
|
- $config['prefix'] = Inflector::slug(APP_DIR) . '_';
|
|
|
|
|
- }
|
|
|
|
|
parent::init($config);
|
|
parent::init($config);
|
|
|
return function_exists('wincache_ucache_info');
|
|
return function_exists('wincache_ucache_info');
|
|
|
}
|
|
}
|