Removed copy/paste code
parent
f1618df349
commit
1f43f915da
|
@ -125,7 +125,7 @@ class FileDownloader implements DownloaderInterface
|
|||
*/
|
||||
protected function processUrl($url)
|
||||
{
|
||||
if (!extension_loaded('openssl') && (0 === strpos($url, 'https:') || 0 === strpos($url, 'http://github.com'))) {
|
||||
if (!extension_loaded('openssl') && 0 === strpos($url, 'https:')) {
|
||||
throw new \RuntimeException('You must enable the openssl extension to download files via https');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue