file_touch()

 
Updates the modification time of the specified file.
Syntax
file_touch( file, location )
Return value: 0 on success, -1 on failure.
  • file = File name.
  • location = File location. "script" or "data", defaulting to "data" if any other value.
User Annotations: file_touch