rpicms

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

commit fc50c6d8017211ceb6c32b06d2d16789b1c95e48
parent 5bbb0f9fa535fd7b7780b181a6fe862f1212f512
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 23 Dec 2014 10:27:15 +0100

I deleted the wrong line :D

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

diff --git a/core/update/update/update.php b/core/update/update/update.php @@ -167,6 +167,8 @@ class AutoUpdate { public function checkUpdate() { $this->log('Checking for a new update. . .'); + $updateFile = $this->updateUrl.'/'.$this->updateIni; + $update = @file_get_contents($updateFile); if ($update === false) { $this->log('Could not retrieve update file `'.$updateFile.'`!'); @@ -208,7 +210,6 @@ class AutoUpdate { */ public function downloadUpdate($updateUrl, $updateFile) { $this->log('Downloading update...'); - $updateUrl = $updateUrl.$this->branch; $update = @file_get_contents($updateUrl); if ($update === false) {