Code Duplication    Length = 2-2 lines in 2 locations

Sources/Subs-Package.php 2 locations

@@ 89-90 (lines=2) @@
86
	}
87
88
	umask(0);
89
	if (!$single_file && $destination !== null && !file_exists($destination))
90
		mktree($destination, 0777);
91
92
	// No signature?
93
	if (strlen($data) < 2)
@@ 337-338 (lines=2) @@
334
function read_zip_data($data, $destination, $single_file = false, $overwrite = false, $files_to_extract = null)
335
{
336
	umask(0);
337
	if ($destination !== null && !file_exists($destination) && !$single_file)
338
		mktree($destination, 0777);
339
340
	// Look for the end of directory signature 0x06054b50
341
	$data_ecr = explode("\x50\x4b\x05\x06", $data);