deleteDir
The deleteDir is a recursive directory deleting function that will remove a directory and contents.
bool
deleteDir
(string $dir, [bool $rmdir = 'true'])
-
string
$dir: Directory to remove all files and sub directories inside.
-
bool
$rmdir: True/False on whether to delete the given directory as well.
|