From a9a5749e6ecbd25ce220daa5a02aec4ba222ccd5 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 3 Sep 2018 06:49:42 -0400 Subject: fix path in example --- examples/02-add_file_from_path.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/02-add_file_from_path.php') diff --git a/examples/02-add_file_from_path.php b/examples/02-add_file_from_path.php index 3b73754..012d50c 100644 --- a/examples/02-add_file_from_path.php +++ b/examples/02-add_file_from_path.php @@ -6,7 +6,7 @@ require_once __DIR__ . '/../src/ZipStream.php'; use Pablotron\ZipStream\ZipStream; # set source path of local file -$src_path = __DIR__ . '/02-add_file_from_path.php'; +$src_path = __FILE__; # create the output archive named "example.zip" $zip = new ZipStream('example.zip'); -- cgit v1.2.3