Method: f::move
Moves a file to a new location
Info
Syntax
f::move($old, $new)
Parameters
- $old (string) The current path for the file
- $new (string) The path to the new location
Return (boolean)
Example
$move = f::move('test.txt', 'super.txt');
if($move) echo 'The file has been moved';