From 64066592a4134068562c7cb8d6a7f948bd32976b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Nov 2017 18:27:29 +0100 Subject: [PATCH] some debug logging --- include/checkversion.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/checkversion.php b/include/checkversion.php index 0567a5954..b2ed814c8 100644 --- a/include/checkversion.php +++ b/include/checkversion.php @@ -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');