rpicms

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

commit d24defc8c29493ec413e371335f5e78a8443d2a7
parent 9b3c8f7a86564106cf0dbbe460777a021c929c38
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 15:44:17 +0100

there is no loop in my code :/

Diffstat:
Mapi.php | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/api.php b/api.php @@ -37,7 +37,6 @@ if (!file_exists('core/config/connect.db.inc.php')) { $Api['PATH_INFO'] = substr_replace($requestUri, '', 0, strlen($physicalPath)); // <-- Remove physical path $Api['PATH_INFO'] = str_replace('?' . $queryString, '', $Api['PATH_INFO']); // <-- Remove query string $Api['PATH_INFO'] = '/' . ltrim($Api['PATH_INFO'], '/'); // <-- Ensure leading slash - print_r($Api); //header("HTTP/1.1 301 Moved Permanently");