git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a286f59
)
allow remote forking of HTTP and HTTPS URLs
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 21 Nov 2013 06:21:47 +0000
(07:21 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 21 Nov 2013 06:21:47 +0000
(07:21 +0100)
src/phorkie/ForkRemote.php
patch
|
blob
|
history
diff --git
a/src/phorkie/ForkRemote.php
b/src/phorkie/ForkRemote.php
index 7f6129d9a524cefe134e116a2ac6ffd4014b2dbf..8784e8e26562fe1debed0495e6d0420261559fb9 100644
(file)
--- a/
src/phorkie/ForkRemote.php
+++ b/
src/phorkie/ForkRemote.php
@@
-148,7
+148,9
@@
class ForkRemote
public function isSupported($url)
{
- return parse_url($url, PHP_URL_SCHEME) == 'git';
+ $scheme = parse_url($url, PHP_URL_SCHEME);
+ return $scheme == 'git'
+ || $scheme == 'http' || $scheme == 'https';
}
}