some debug logging

This commit is contained in:
Tobias Diekershoff 2017-11-06 18:27:29 +01:00
parent f097d4d479
commit 64066592a4
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ function checkversion_run () {
if ($checkurl == 'none' ) {
return;
}
$gitversion = dbesc(trim(fetch_url("https://raw.githubusercontent.com/friendica/friendica/".$checkurl."/VERSION")));
$checkurl = "https://raw.githubusercontent.com/friendica/friendica/".$checkurl."/VERSION";
logger("Checking VERSION from: ".$checkurl, LOGGER_DEBUG);
$gitversion = dbesc(trim(fetch_url($checkurl)));
logger("Upstream VERSION is: ".$gitversion, LOGGER_DEBUG);
Config::set('system', 'git_friendica_version', $gitversion);
logger('checkversion: end');