nlopess Wed Sep 5 19:23:46 2007 UTC
Modified files:
/phpdoc/scripts/iniupdate pecl.php
Log:
damn, the documentation was wrong about file_get_contents. fix the parameters
order
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/pecl.php?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/scripts/iniupdate/pecl.php
diff -u phpdoc/scripts/iniupdate/pecl.php:1.3
phpdoc/scripts/iniupdate/pecl.php:1.4
--- phpdoc/scripts/iniupdate/pecl.php:1.3 Wed Sep 5 19:08:41 2007
+++ phpdoc/scripts/iniupdate/pecl.php Wed Sep 5 19:23:46 2007
@@ -42,7 +42,7 @@
$url = "http://pecl.php.net/rest/r/$package/allreleases.xml";
// simplexml doesnt seem to be able to handle the 404 errors as I
would like..
- if (@file_get_contents($url, null, 0, 0, 1) === false) return
$releases;
+ if (@file_get_contents($url, 0, null, 0, 1) === false) return
$releases;
$XE = @new SimpleXMLElement($url, NULL, true);