commit 940ba71d8e9f3b0e5ec140e43cc4d2029a4d947c
parent 84fc2538eb823cd9798ca41ecabf1ce704fae1c5
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 21 Dec 2014 15:43:32 +0100
some debug
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -46,7 +46,7 @@ class AutoUpdate {
/*
* Current Branch
*/
- #public $branch = 'nightly';
+ public $branch = 'nightly';
/*
* Name of the latest version
diff --git a/themes/jumbotron/update.php b/themes/jumbotron/update.php
@@ -34,6 +34,7 @@ $update->updateUrl = 'http://media.nordgedanken.de/rpicms/server'; //Replace wit
//Check for a new update
$latest = $update->checkUpdate();
if ($latest !== false) {
+ echo $update->branch;
if ($latest > $update->currentVersion) {
//Install new update
echo "New Version: ".$update->latestVersionName."<br>";