We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16df05c commit c9352bfCopy full SHA for c9352bf
File.php
@@ -396,8 +396,7 @@ protected function _path($id, $parts = false)
396
$root = $this->_options['cache_dir'];
397
$prefix = $this->_options['file_name_prefix'];
398
if ($this->_options['hashed_directory_level']>0) {
399
- $hash = hash('adler32', $id);
400
- $root = $root . $prefix . '--' . substr($hash, -$this->_options['hashed_directory_level']) . DIRECTORY_SEPARATOR;
+ $root .= $prefix . '--' . substr(md5($id), -$this->_options['hashed_directory_level']) . DIRECTORY_SEPARATOR;
401
$partsArray[] = $root;
402
}
403
if ($parts) {
0 commit comments