1
0
Fork 0

dont use the entire url as option

This commit is contained in:
Tobias Diekershoff 2017-11-06 18:05:42 +01:00
commit 143e7fc6b7
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ function checkversion_run () {
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');