Skip to content

Commit

Permalink
Improve the Cache Service
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed Mar 20, 2018
1 parent 886bf60 commit 902b878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Cache/FileStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function flush()
*/
protected function path($key)
{
$parts = array_slice(str_split($hash = md5($key), 2), 0, 2);
$parts = array_slice(str_split($hash = sha1($key), 2), 0, 2);

return $this->directory .DS .join(DS, $parts) .DS .$hash;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Application extends Container implements ResponsePreparerInterface
*
* @var string
*/
const VERSION = '4.0.5';
const VERSION = '4.0.6';

/**
* Indicates if the application has "booted".
Expand Down

0 comments on commit 902b878

Please sign in to comment.