pull/18/head
icret 2022-01-21 19:09:31 +08:00
parent 0ae2bcc234
commit 0723e4ad5f
1 changed files with 13 additions and 17 deletions

View File

@ -472,9 +472,6 @@ function getVersion()
if ($config['checkEnv']) {
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";
$getVersion = new getVerson($url);
@ -496,7 +493,6 @@ function getVersion()
}
}
}
}
return null;
}