projects
/
pharext
/
replicator.pharext.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
da59c14
)
use https
author
Michael Wallner
<mike@php.net>
Thu, 7 Apr 2016 10:44:52 +0000
(12:44 +0200)
committer
Michael Wallner
<mike@php.net>
Mon, 6 Jun 2016 05:13:48 +0000
(07:13 +0200)
bin/pecl+sig
patch
|
blob
|
history
diff --git
a/bin/pecl+sig
b/bin/pecl+sig
index 4ce3e2feaa353ac18c3b7fcd04cf65170fa1cf32..c1c54438364846bf71de04e1113f2d93ac16bb9c 100755
(executable)
--- a/
bin/pecl+sig
+++ b/
bin/pecl+sig
@@
-70,9
+70,9
@@
function work($url, $dir) {
]);
};
-if (($sxe = simplexml_load_file("http://pecl.php.net/feeds/$what.rss"))) {
+if (($sxe = simplexml_load_file("http
s
://pecl.php.net/feeds/$what.rss"))) {
foreach ($sxe->item as $item) {
- $url =
(string) $item->link
;
+ $url =
str_replace("http://", "https://", (string) $item->link)
;
$pkg = basename(dirname($url));
$ver = basename($url);
$skp = sprintf("%s/../skip/%s/%s", __DIR__, $pkg, $ver);