private function zipDirectory($zip, $alias, $directory) {
		if ($handle = opendir ( $directory )) {
			while ( ($file = readdir ( $handle )) !== false ) {
				if (is_dir ( $directory . $file ) && $file != "." && $file != ".." && ! in_array ( $directory . $file . '/', $this->module->excludeDirectoryBackup ))
					$this->zipDirectory ( $zip, $alias . $file . '/', $directory . $file . '/' );
				
				if (is_file ( $directory . $file ) && ! in_array ( $directory . $file, $this->module->excludeFileBackup ))
					$zip->addFile ( $directory . $file, $alias . $file );
			}
			closedir ( $handle );
		}
	}