cvs: php-src(PHP_5_2) /ext/zip/examples dir.php
| From: | Pierre-Alain Joye | Date: | Sun, 13 Aug 2006 19:34:40 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/zip/examples dir.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39943@lists.php.net to get a copy of this message | ||
pajoye Sun Aug 13 19:34:40 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip/examples dir.php
Log:
- MFH: remove dl() usage
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/examples/dir.php?r1=1.1&r2=1.1.2.1&diff_format=u
Index: php-src/ext/zip/examples/dir.php
diff -u php-src/ext/zip/examples/dir.php:1.1 php-src/ext/zip/examples/dir.php:1.1.2.1
--- php-src/ext/zip/examples/dir.php:1.1 Mon Jul 24 16:58:58 2006
+++ php-src/ext/zip/examples/dir.php Sun Aug 13 19:34:40 2006
@@ -1,8 +1,4 @@
<?php
-if (!extension_loaded('zip')) {
- dl('zip.so');
-}
-
$za = new ZipArchive();
$za->open('test_with_comment.zip');