deltree

Deletes a directory, and all the files and direcories inside it. requires access to delete these files.
Parameters Summary
string $dir
bool $delete_dir = true