mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
replaced vsprintf to implode
This commit is contained in:
parent
7ae84e3d5d
commit
0f51c75157
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ abstract class CacheEngine {
|
||||||
|
|
||||||
$prefix = '';
|
$prefix = '';
|
||||||
if (!empty($this->_groupPrefix)) {
|
if (!empty($this->_groupPrefix)) {
|
||||||
$prefix = md5(vsprintf($this->_groupPrefix, $this->groups()));
|
$prefix = md5(implode('_', $this->groups()));
|
||||||
}
|
}
|
||||||
|
|
||||||
$key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace(array(DS, '/', '.'), '_', strval($key)))));
|
$key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace(array(DS, '/', '.'), '_', strval($key)))));
|
||||||
|
|
Loading…
Reference in a new issue