rpicms

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

commit 5e906ed0ad7656f359c679b893fc7fb2bba3e4b6
parent 16e5668440c6543fa59331c2522775ebe801fbc6
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 28 Feb 2015 20:48:48 +0100

not working yet

Diffstat:
Mthemes/jumbotron/update.php | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/themes/jumbotron/update.php b/themes/jumbotron/update.php @@ -34,18 +34,18 @@ global $root, $root_1, $root_2, $root_3; $update = new AutoUpdate($root . '/temp/', $root . '/', 60); $update->setCurrentVersion('1.0.0'); $update->setUpdateUrl('http://media.nordgedanken.de/rpicms/server'); -public function BranchStable() +function BranchStable() { - $this->_update->setUpdateFile('update.json'); - $this->_update->setBranch('stable'); - $response = $this->_update->checkUpdate(); + $update->setUpdateFile('update.json'); + $update->setBranch('stable'); + $response = $update->checkUpdate(); $this->assertTrue($response); } -public function BranchDevelop() +function BranchDevelop() { - $this->_update->setUpdateFile('update.json'); - $this->_update->setBranch('nightly'); - $response = $this->_update->checkUpdate(); + $update->setUpdateFile('update.json'); + $update->setBranch('nightly'); + $response = $update>checkUpdate(); $this->assertTrue($response); }