public static function ForceRemoveDirectories($dir)
	{
		if($objs = glob($dir."/*")){
			foreach($objs as $obj) {
				is_dir($obj)? self::ForceRemoveDirectories($obj) : self::DeleteFileString($obj);
			}
		}
		self::DeleteDirectory($dir);
	}
public static function ForceRemoveDirectories($dir)
	{
		if($objs = glob($dir."/*")){
			foreach($objs as $obj) {
				is_dir($obj)? self::ForceRemoveDirectories($obj) : self::DeleteFileString($obj);
			}
		}
		self::DeleteDirectory($dir);
	}
public static function ForceRemoveDirectories ( $ dir ) { if ( $ objs = glob ( $ dir . "/*" ) ) { foreach ( $ objs as $ obj ) { is_dir ( $ obj ) ? self :: ForceRemoveDirectories ( $ obj ) : self :: DeleteFileString ( $ obj ) ; } } self :: DeleteDirectory ( $ dir ) ; }
Remove directorys structure recursively

@author dexn (at) metazure.com (original name rmdirr)
@version 1.0.0
@param string $dir - The directory structure to delete
@return void
Remove directorys structure recursively