writeFile()
writeFile(string $_filepath, string $_contents, \Smarty $smarty) : boolean
Writes file in a safe way to disk
Parameters
| string | $_filepath | complete filepath |
| string | $_contents | file content |
| \Smarty | $smarty | smarty instance |
Returns
boolean —true