ICE coder by Matt Pass (
@mattpass)
Free to use it for your own purposes, commercial or not, just let me know of any cool uses or customisations. :)
No warranty or liability accepted for anything, all responsibility of use is your own.
@@ -78,7 +78,7 @@ for ($i=0;$i
@'.$value.'';
+ $value = '@'.$value.'';
};
array_walk($peopleArray, "makeURL");
echo implode(", ",$peopleArray);
diff --git a/lib/updater.php b/lib/updater.php
index 3726009..9003e91 100644
--- a/lib/updater.php
+++ b/lib/updater.php
@@ -48,7 +48,7 @@ function copyOldVersion() {
}
}
}
- $icv_url = "http://icecoder.net/latest-version.txt";
+ $icv_url = "https://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);
@@ -70,7 +70,7 @@ function openZipNew($icvInfo) {
$source = 'ICEcoder v'.$icvInfo;
$target = '../';
- $remoteFile = 'http://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
+ $remoteFile = 'https://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);
@@ -184,7 +184,7 @@ if ($updateDone) {
echo '';
} else {
echo 'Something appears to have gone wrong :-/
';
- echo 'Please report bugs at http://github.com/mattpass/ICEcoder
';
+ echo 'Please report bugs at https://github.com/mattpass/ICEcoder
';
echo 'You can recover the old version from ICEcoder\'s tmp dir';
}
?>
diff --git a/test/index.php b/test/index.php
index cb20370..c5ab808 100644
--- a/test/index.php
+++ b/test/index.php
@@ -225,7 +225,7 @@ test = {
o.p = ICEcoder.openFiles[1];
t++;
},1);
- result = ICEcoder.getRemoteFile('http://icecoder.net/latest-version');
+ result = ICEcoder.getRemoteFile('https://icecoder.net/latest-version');
},
moveGoToLine: function() {