mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Try one more time before throwing error on template cache file write
This commit is contained in:
parent
4193edde25
commit
9d98e47c53
1 changed files with 4 additions and 1 deletions
|
|
@ -368,7 +368,10 @@ class Template
|
||||||
$content = $this->parse();
|
$content = $this->parse();
|
||||||
if (!Storage::write($this->cache_path, $content))
|
if (!Storage::write($this->cache_path, $content))
|
||||||
{
|
{
|
||||||
throw new Exception('Cannot write template cache file: ' . $this->cache_path);
|
if (!Storage::write($this->cache_path, $content))
|
||||||
|
{
|
||||||
|
throw new Exception('Cannot write template cache file: ' . $this->cache_path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue