diff options
| author | Pierre Joye <pajoye@php.net> | 2008-05-21 09:27:41 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2008-05-21 09:27:41 +0000 |
| commit | b734bf4b97f9203eb7a7a6a7ef24286f2272bd08 (patch) | |
| tree | a361418bf40dfa23ac4d33ba3eae99c987f1ddae /ext/zip/examples/fopen.php | |
| parent | 3681756cfb6d66c35f532f890160a1d56601e96c (diff) | |
| download | php-git-b734bf4b97f9203eb7a7a6a7ef24286f2272bd08.tar.gz | |
- sync with PECL HEAD
Diffstat (limited to 'ext/zip/examples/fopen.php')
| -rw-r--r-- | ext/zip/examples/fopen.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/zip/examples/fopen.php b/ext/zip/examples/fopen.php index 5af37b1ab3..32357f3c08 100644 --- a/ext/zip/examples/fopen.php +++ b/ext/zip/examples/fopen.php @@ -1,4 +1,8 @@ <?php +if (!extension_loaded('zip')) { + dl('zip.so'); +} + $fp = fopen('zip://' . dirname(__FILE__) . '/test.zip#test', 'r'); if (!$fp) { |
