Fix error message

This commit is contained in:
bzick 2013-09-06 15:57:28 +04:00
parent d2d54a831a
commit 56b7fe8bb0

View File

@ -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;