rpicms

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

commit efc087dba43320d990d2dc150dcfd1aff92294d6
parent d066e7406e61ff2cd0ad7fc55b9e5ef47f113458
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 13:26:37 +0100

more debug

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

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