diff --git a/index.php b/index.php index df808c6..c6ae77c 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ if (!in_array($_SERVER["REMOTE_ADDR"], $_SESSION['allowedIPs']) && !in_array("*" $updateMsg = ''; // Check for updates if ($ICEcoder["checkUpdates"]) { - $icv_url = "https://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"]; + $icv_url = "http://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"]; if (ini_get('allow_url_fopen')) { $icvInfo = explode("\n",file_get_contents($icv_url,false,$context)); } elseif (function_exists('curl_init')) { diff --git a/lib/plugins-manager.php b/lib/plugins-manager.php index 0e4dca1..a094fb2 100644 --- a/lib/plugins-manager.php +++ b/lib/plugins-manager.php @@ -3,7 +3,7 @@ include("headers.php"); include("settings.php"); // Set the plugin data source -$pluginsDataSrc = "https://icecoder.net/plugin-data?format=JSON"; +$pluginsDataSrc = "http://icecoder.net/plugin-data?format=JSON"; // Now get our plugin data and put into a PHP array if (ini_get('allow_url_fopen')) { diff --git a/lib/updater.php b/lib/updater.php index 655929a..3bae4e9 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -48,7 +48,7 @@ function copyOldVersion() { } } } - $icv_url = "https://icecoder.net/latest-version.txt"; + $icv_url = "http://icecoder.net/latest-version.txt"; echo 'Detecting current version of ICEcoder...
'; if (ini_get('allow_url_fopen')) { $icvInfo = file_get_contents($icv_url,false,$context); @@ -71,7 +71,7 @@ function openZipNew($icvInfo) { $source = 'ICEcoder v'.$icvInfo; $target = '../'; - $remoteFile = 'https://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip'; + $remoteFile = 'http://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip'; $file = "../tmp/new-version.zip"; if (ini_get('allow_url_fopen')) { $fileData = file_get_contents($remoteFile,false,$context); diff --git a/test/index.php b/test/index.php index c5ab808..cb20370 100644 --- a/test/index.php +++ b/test/index.php @@ -225,7 +225,7 @@ test = { o.p = ICEcoder.openFiles[1]; t++; },1); - result = ICEcoder.getRemoteFile('https://icecoder.net/latest-version'); + result = ICEcoder.getRemoteFile('http://icecoder.net/latest-version'); }, moveGoToLine: function() {