rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 870934f6ae4b7f623eecde2fa130020351ef9620
parent 4cda72194af4b9f574ad86bd69a1d17b82616be5
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 21 Dec 2014 14:43:59 +0100

some tests

Diffstat:
Mcore/update/update/update.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/update/update/update.php b/core/update/update/update.php @@ -46,7 +46,7 @@ class AutoUpdate { /* * Current Branch */ - public $branch = 'stable'; + public $branch = 'nightly'; /* * Name of the latest version @@ -182,7 +182,7 @@ class AutoUpdate { $update = ''; foreach ($versions as $key => $version) { - if ($version['branch'] == $branch){ + if ($branch == $version['branch']){ if ($key > $keyOld) { $keyOld = $key; $latest = $version['version'];