Method: dir::remove

Deletes a directory

Info

Syntax

dir::remove($dir, $keep=false)

Parameters

Return (boolean)

True: the directory has been removed, false: removing failed

Example


$remove = dir::remove('mydirectory');

if($remove) echo 'the directory has been removed';