fix
parent
0ae2bcc234
commit
0723e4ad5f
|
@ -472,9 +472,6 @@ function getVersion()
|
||||||
if ($config['checkEnv']) {
|
if ($config['checkEnv']) {
|
||||||
|
|
||||||
require_once APP_ROOT . '/application/class.version.php';
|
require_once APP_ROOT . '/application/class.version.php';
|
||||||
|
|
||||||
if (file_get_contents('https://github.com/icret/EasyImages2.0')) {
|
|
||||||
// 判断服务器是否可以访问GitHub
|
|
||||||
// 获取版本地址
|
// 获取版本地址
|
||||||
$url = "https://api.github.com/repositories/188228357/releases/latest";
|
$url = "https://api.github.com/repositories/188228357/releases/latest";
|
||||||
$getVersion = new getVerson($url);
|
$getVersion = new getVerson($url);
|
||||||
|
@ -496,7 +493,6 @@ function getVersion()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue