Skip to content

error adding file #7

@naja7host

Description

@naja7host

adding a single file return a error

array_diff(): at least 2 parameters are required, 1 given on line 503 in vendor/php-zip/src/Zip.php

i add the file using the fallowing command

	$zip = new Zip();
	$zip->zip_start($path_to_zip);
	$zip->zip_add($path_to_file_name); // adding a file
	$zip->zip_end();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions