1
0
Fork 0

Removed copy/paste code

pull/249/head
Martin Hasoň 2012-02-20 08:20:16 +01:00
parent f1618df349
commit 1f43f915da
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class FileDownloader implements DownloaderInterface
*/ */
protected function processUrl($url) 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'); throw new \RuntimeException('You must enable the openssl extension to download files via https');
} }