dir::remove
Deletes a directory
dir::remove($dir, $keep = false)
Parameters
$dir (string)
The path of the directory
$keep (boolean)
If set to true, the directory will flushed but not removed.
Return values
boolean
True: the directory has been removed, false: removing failed