rpicms

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

commit b2cb007612c2c06ee7cb5d1212bd1c7d0255864a
parent 0b1cf97e8f23db7100209705dff06e43ba19f425
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon,  2 Feb 2015 20:27:20 +0100

There where something missing

Diffstat:
Mcore/api/v1/MyApi.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/api/v1/MyApi.class.php b/core/api/v1/MyApi.class.php @@ -8,8 +8,8 @@ class MyAPI extends API parent::__construct($request); // Abstracted out for example - $APIKey = "" - $User = "" + $APIKey = ""; + $User = ""; if (!array_key_exists('apiKey', $this->request)) { throw new Exception('No API Key provided');