diff options
Diffstat (limited to 'ext/zip/tests/zip_read.phpt')
-rw-r--r-- | ext/zip/tests/zip_read.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/tests/zip_read.phpt b/ext/zip/tests/zip_read.phpt index 743ab05626..5cd2e9755a 100644 --- a/ext/zip/tests/zip_read.phpt +++ b/ext/zip/tests/zip_read.phpt @@ -6,7 +6,7 @@ if(!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php -$zip = zip_open(dirname(__FILE__)."/test_procedural.zip"); +$zip = zip_open(__DIR__."/test_procedural.zip"); if (!is_resource($zip)) die("Failure"); $entries = 0; while ($entry = zip_read($zip)) { |