* [misc] prefix the cache key with the database name to prevent cache conflicts.
This commit is contained in:
@@ -203,7 +203,7 @@ class baseDAO
|
||||
$app->loadClass('cache', true);
|
||||
try
|
||||
{
|
||||
$this->cache = new cache($config->cache->dao->driver, 'dao-', $config->cache->dao->lifetime);
|
||||
$this->cache = new cache($config->cache->dao->driver, $config->db->name . '-dao-', $config->cache->dao->lifetime);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user