Method: dir::move

Moves a directory to a new location

Info

Syntax

dir::move($old, $new)

Parameters

Return (boolean)

True: the directory has been moved, false: moving failed

Example


$move = dir::move('mydirectory', 'mynewdirectory');

if($move) echo 'the directory has been moved to mynewdirectory';