Skip to content

Commit d5e6fb0

Browse files
committed
Reverting to use http: instead of https: for now
file_get_contents won't get https: data for now Need to look at resolving this
1 parent f00686c commit d5e6fb0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$updateMsg = '';
1111
// Check for updates
1212
if ($ICEcoder["checkUpdates"]) {
13-
$icv_url = "https://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"];
13+
$icv_url = "http://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"];
1414
if (ini_get('allow_url_fopen')) {
1515
$icvInfo = explode("\n",file_get_contents($icv_url,false,$context));
1616
} elseif (function_exists('curl_init')) {

lib/plugins-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include("settings.php");
44

55
// Set the plugin data source
6-
$pluginsDataSrc = "https://icecoder.net/plugin-data?format=JSON";
6+
$pluginsDataSrc = "http://icecoder.net/plugin-data?format=JSON";
77

88
// Now get our plugin data and put into a PHP array
99
if (ini_get('allow_url_fopen')) {

lib/updater.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function copyOldVersion() {
4848
}
4949
}
5050
}
51-
$icv_url = "https://icecoder.net/latest-version.txt";
51+
$icv_url = "http://icecoder.net/latest-version.txt";
5252
echo 'Detecting current version of ICEcoder...<br>';
5353
if (ini_get('allow_url_fopen')) {
5454
$icvInfo = file_get_contents($icv_url,false,$context);
@@ -71,7 +71,7 @@ function openZipNew($icvInfo) {
7171
$source = 'ICEcoder v'.$icvInfo;
7272
$target = '../';
7373

74-
$remoteFile = 'https://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
74+
$remoteFile = 'http://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
7575
$file = "../tmp/new-version.zip";
7676
if (ini_get('allow_url_fopen')) {
7777
$fileData = file_get_contents($remoteFile,false,$context);

test/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function runTests() {
225225
o.p = ICEcoder.openFiles[1];
226226
t++;
227227
},1);
228-
result = ICEcoder.getRemoteFile('https://icecoder.net/latest-version');
228+
result = ICEcoder.getRemoteFile('http://icecoder.net/latest-version');
229229
},
230230

231231
moveGoToLine: function() {

0 commit comments

Comments
 (0)