if ($checkurl == 'none' ) {
return;
}
- $gitversion = dbesc(trim(fetch_url($checkurl)));
+ $gitversion = dbesc(trim(fetch_url("https://raw.githubusercontent.com/friendica/friendica/".$checkurl."/VERSION")));
Config::set('system', 'git_friendica_version', $gitversion);
logger('checkversion: end');
$check_git_version_choices = array(
"none" => t("Don't check"),
- "https://raw.githubusercontent.com/friendica/friendica/master/VERSION" => t("check the stable version"),
- "https://raw.githubusercontent.com/friendica/friendica/develop/VERSION" => t("check the development version")
+ "master" => t("check the stable version"),
+ "develop" => t("check the development version")
);
if ($a->config['hostname'] == "") {