diff --git a/index.php b/index.php index f5673cf..8cff084 100644 --- a/index.php +++ b/index.php @@ -10,15 +10,16 @@ $updateMsg = ''; if ($ICEcoder["checkUpdates"]) { $icv_url = "http://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"]; if (ini_get('allow_url_fopen')) { - $icv = explode("\n",file_get_contents($icv_url)); + $icvInfo = explode("\n",file_get_contents($icv_url)); } elseif (function_exists('curl_init')) { $ch = curl_init($icv_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - $icv = explode("\n", curl_exec($ch)); + $icvInfo = explode("\n", curl_exec($ch)); } - $icv = $icv[0]; + $icv = $icvInfo[0]; + $icvI = $icvInfo[1]; if ($ICEcoder["versionNo"]<$icv) { - $updateMsg = ";top.ICEcoder.dataMessage('UPDATE INFO: ICEcoder v ".$icv." now available. (Your version is v ".$ICEcoder["versionNo"]."). Get it free from icecoder.net');"; + $updateMsg = ";top.ICEcoder.dataMessage('UPDATE INFO: ICEcoder v ".$icv." now available. (Your version is v ".$ICEcoder["versionNo"]."). Get it free from icecoder.net
".$icvI."');"; } } ?> @@ -96,7 +97,6 @@ if (file_exists(dirname(__FILE__)."/plugins/jshint/jshint.js")) { New File New Folder Upload File(s) -
@@ -104,6 +104,7 @@ if (file_exists(dirname(__FILE__)."/plugins/jshint/jshint.js")) {
+ Copy Delete