mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix error message
This commit is contained in:
parent
d2d54a831a
commit
56b7fe8bb0
@ -816,7 +816,7 @@ class Fenom
|
||||
fclose($tpl_fp);
|
||||
$file_name = $this->_compile_dir . "/" . $cache;
|
||||
if (!rename($tpl_tmp, $file_name)) {
|
||||
throw new \RuntimeException("Can't to move $tpl_tmp to $tpl");
|
||||
throw new \RuntimeException("Can't to move $tpl_tmp to $file_name");
|
||||
}
|
||||
}
|
||||
return $template;
|
||||
|
Loading…
Reference in New Issue
Block a user