rpicms

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

commit 053441280a01db84e059f15299f3708d20ba80ab
parent e53be588378f16542e8063a9535ceab8ff58cd76
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 08:51:03 +0100

It seems that nginx need an workaround but now it also won't work correct

Diffstat:
M.htaccess | 3+--
Mcore/api/v1/api.php | 1+
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -4,6 +4,5 @@ RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule /^([^\.]+)$ %{REQUEST_URI}.php [NC] Redirect 301 /oauth2callback /core/backend/admin/modules/modul_g-plus-login/handle.php -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule api/v1/(.*)$ /coreapi/v1/api.php [QSA,L] +RewriteRule api/v1/(.*)$ /core/api/v1/api.php [QSA,L] </IfModule> \ No newline at end of file diff --git a/core/api/v1/api.php b/core/api/v1/api.php @@ -80,6 +80,7 @@ $app->post('/register', function() use ($app) { } catch(Exception $e) { $app->flash('error', $e->getMessage()); } + echo "Debug"; // check for required params verifyRequiredParams(array('name', 'email', 'password'));