commit 404803b922b21b249bb0f0883a0c1df8323c3a76 parent c2e1f9da34b8aeb98ba5ef1ed5e0ae6b5cd9f2cd Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 17 Jan 2015 11:49:45 +0100 add http header Diffstat:
| M | core/backend/admin/blog/newpost.php | | | 1 | + |
| M | themes/jumbotron/admin.php | | | 1 | + |
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -46,5 +46,6 @@ while (ob_get_status()) { $connection->close(); ob_end_clean(); } +header("HTTP/1.1 301 Moved Permanently"); header( "Location: ../../../../" ); ?> \ No newline at end of file diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -288,5 +288,6 @@ foreach($langs as $prio => $lang) { <?php }else{ echo "You not logged in!"; + header("HTTP/1.1 401 Unauthorized"); } ?> \ No newline at end of file