更新v1.5.0版本
This commit is contained in:
parent
e85959919b
commit
3435217710
|
@ -114,9 +114,8 @@ function background() {
|
||||||
}
|
}
|
||||||
//程序更新
|
//程序更新
|
||||||
function update() {
|
function update() {
|
||||||
$update_host = 'cdn.lylme.com';
|
$update_host = 'https://cdn.lylme.com/api/update'; //程序更新服务器,请勿删除和修改,否则将导致无法接收版本更新和程序报错
|
||||||
//程序更新服务器,请勿删除和修改,否则将导致无法接收版本更新和程序报错
|
@$update = json_decode(get_curl($update_host.'?ver='.VERSION.'&domain='.$_SERVER['HTTP_HOST']),true);
|
||||||
@$update = json_decode(file_get_contents('https://' . $update_host . '/lylmes_page/update.json') , true);
|
|
||||||
return $update;
|
return $update;
|
||||||
}
|
}
|
||||||
function getver($ver) {
|
function getver($ver) {
|
||||||
|
|
|
@ -50,6 +50,9 @@ if($sqlvn < 10300) {
|
||||||
if($sqlvn < 10304) {
|
if($sqlvn < 10304) {
|
||||||
$version = 'v1.3.4';
|
$version = 'v1.3.4';
|
||||||
}
|
}
|
||||||
|
if($sqlvn < 10500) {
|
||||||
|
$version = 'v1.5.0';
|
||||||
|
}
|
||||||
$sql=explode(';',$sql);
|
$sql=explode(';',$sql);
|
||||||
for ($i=0;$i<count($sql);$i++) {
|
for ($i=0;$i<count($sql);$i++) {
|
||||||
if (trim($sql[$i])=='')continue;
|
if (trim($sql[$i])=='')continue;
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define('VERSION', '1.3.4');
|
define('VERSION', '1.5.0');
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue