commit 6fd12acaecb89734925e16bf3b433281af2d45a5 parent de25c877cb84be1c55ee47e223e0a00f2a2e91d1 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 3 Feb 2015 15:35:34 +0100 still getting redirect loop Diffstat:
| M | api.php | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/api.php b/api.php @@ -41,7 +41,8 @@ if (!file_exists('core/config/connect.db.inc.php')) { header("HTTP/1.1 301 Moved Permanently"); - header("Location:api/v1/api.php" . $Api['PATH_INFO']); + + header("Location:".$root."api/v1/api.php" . $Api['PATH_INFO']); } ?> \ No newline at end of file