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