Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Fix alongside 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
supergrecko committed Apr 23, 2019
1 parent 2989257 commit f39900e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RiotQuest/Components/Framework/Cache/CacheModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function set($key, $value, $ttl = null)
$key = $this->key($key);
@mkdir($this->path, 755, true);
if (!file_exists($this->path . $key)) {
touch($this->path, $key);
touch($this->path . $key);
}
file_put_contents($this->path . $key, json_encode([
'data' => (string) $value,
Expand Down

0 comments on commit f39900e

Please sign in to comment.