TemplatesModelTemplate::uploadFile
Upload new file.
Signature
public function uploadFile(string
$file,
string
$location )
Parameters
-
$file
- The name of the file.
-
$location
- Location for the new file.
Returns
- boolean
- True if file uploaded successfully, false otherwise