[-] Classes : fixed cachefs and memcache classes #PSCFV-5225 thanks @prestalab

This commit is contained in:
gRoussac
2013-07-11 18:27:54 +02:00
parent 293d1afbc7
commit a5ee2c2f4f
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -149,6 +149,7 @@ class CacheFsCore extends Cache
*/
protected function getFilename($key)
{
$key = md5($key);
$path = _PS_CACHEFS_DIRECTORY_;
for ($i = 0; $i < $this->depth; $i++)
$path .= $key[$i].'/';