aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-04-09 23:25:45 +0000
committerrvelices <rv-github@modusoptimus.com>2007-04-09 23:25:45 +0000
commit01cc3d8d98f7f67529e45142fa9c9dbb4ce8a69b (patch)
tree0de61fc6dd69a967987cdd1d03c27c2617d68628 /include/section_init.inc.php
parent56d9ed3c476f7b77c26667083b53266298ce96c4 (diff)
merge revisions 1938 and 1949 from branch-1_7 to trunk:
dark theme correction permalink and category.php redirections are permanent (http code 301) instead of temporary (301) added rel nofollow for the metadata link on picture page changed h2 background color style in dark/mail-css (was not readable when images are not downloaded) git-svn-id: http://piwigo.org/svn/trunk@1950 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 00c8c9137..9b16f937b 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -749,7 +749,7 @@ if ( 'categories'==$page['section'] and isset($page['category']) )
);
if (!headers_sent())
{ // this is a permanent redirection
- set_status_header(302);
+ set_status_header(301);
redirect_http( $redirect_url );
}
redirect( $redirect_url );