Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Commit

Permalink
Added fix to fetch_remote_file that supports uppercase HTTPS in the URL.
Browse files Browse the repository at this point in the history
Updated build date to no longer contain the time.
  • Loading branch information
neogeek committed Aug 10, 2012
1 parent 8d7f3ef commit 1ffc40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework.php
Expand Up @@ -4,7 +4,7 @@


/* ------------------------------------------------------------ /* ------------------------------------------------------------
Overseer Framework, build 81, 2012-06-06 03:26:00 Overseer Framework, build 81, 2012-08-09
http://overseerframework.com/ http://overseerframework.com/
Copyright (c) 2012 Neo Geek Copyright (c) 2012 Neo Geek
Expand Down Expand Up @@ -93,7 +93,7 @@ function fetch_remote_file ($url, $cache = '', $expire = -1) {


$ch = curl_init($url); $ch = curl_init($url);


if (parse_url($url, PHP_URL_SCHEME) == 'https') { if (strtolower(parse_url($url, PHP_URL_SCHEME)) == 'https') {


curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);


Expand Down

0 comments on commit 1ffc40b

Please sign in to comment.