rpicms

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

commit 322a43aec9307dace642282e8ceb01d9f079a55c
parent e55c2be87238606865673185ff245534af18fbe6
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Feb 2015 15:54:47 +0100

fix redirect loop

Diffstat:
Mapi.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api.php b/api.php @@ -40,7 +40,7 @@ if (!file_exists('core/config/connect.db.inc.php')) { //header("HTTP/1.1 301 Moved Permanently"); - header("Location:" . $root_3[1] . "/core/api/v1/api.php" . $Api['PATH_INFO']); + header("Location:/" . $root_3[1] . "/core/api/v1/api.php" . $Api['PATH_INFO']); } ?> \ No newline at end of file