rpicms

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

commit 156c50e583877031faab5cf148fe5eb9d4937097
parent 9c02eec203aedd7f5a9ecfcb3d82aa66d29c9fb0
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 13:00:40 +0100

reactivate forwarding

Diffstat:
Mapi.php | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/api.php b/api.php @@ -9,11 +9,8 @@ if (!file_exists('core/config/connect.db.inc.php')) { }else{ $request = $_SERVER['REQUEST_URI']; $Api = substr($request, strrpos($request, 'v1/') + 3); - echo $request; - echo "</br>"; - echo $Api; - //header("HTTP/1.1 301 Moved Permanently"); - //header("Location:api/v1/api.php/$Api"); + header("HTTP/1.1 301 Moved Permanently"); + header("Location:api/v1/api.php/$Api"); } ?> \ No newline at end of file