rpicms

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

commit 21a49f1aebc7e6b0d19150d4bf4ca46d9c9796d2
parent 30f7180020e0376277ef466e096e255a499d0892
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 13:07:33 +0100

not working yet

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

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