]> granicus.if.org Git - php/commitdiff
- remove dl() usage
authorPierre Joye <pajoye@php.net>
Sun, 13 Aug 2006 19:06:46 +0000 (19:06 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 13 Aug 2006 19:06:46 +0000 (19:06 +0000)
ext/zip/examples/create.php
ext/zip/examples/dir.php
ext/zip/examples/extract.php
ext/zip/examples/fopen.php

index a41c8e6d0bcab7c66e7a5ef0c0afe5790e84f45f..30173bbadb5b433bbf917dea86d1a45afb95c5cf 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 error_reporting(E_ALL);
-if (!extension_loaded('zip')) {
-    dl('zip.so');
-}
+
 $thisdir = dirname(__FILE__);
 unlink("./test112.zip");
 $zip = new ZipArchive();
index c362a72ba36f803654cf6b0ea5755887d1fc5271..00e4b405852980ae63f55a0a47ee10b41f2132e0 100644 (file)
@@ -1,8 +1,4 @@
 <?php
-if (!extension_loaded('zip')) {
-    dl('zip.so');
-}
-
 $za = new ZipArchive();
 
 $za->open('test_with_comment.zip');
index 5276b0dca5f6582a4ada803d87514769ebb0c447..696502ba1225f6074444a406a77324b8e2543455 100644 (file)
@@ -1,8 +1,4 @@
 <?php
-if (!extension_loaded('zip')) {
-    dl('zip.so');
-}
-
 $zip = new ZipArchive();
 
 echo $zip->filename . "\n";
index 32357f3c08f6ea94393472a9f1c79eafdb2af231..5af37b1ab33734c378a8d26dde7c5759324ed201 100644 (file)
@@ -1,8 +1,4 @@
 <?php
-if (!extension_loaded('zip')) {
-    dl('zip.so');
-}
-
 
 $fp = fopen('zip://' . dirname(__FILE__) . '/test.zip#test', 'r');
 if (!$fp) {