Feature Issue ID 0000602: Redirect must be done by html or http

Redirect it's only done by the html method but must be done too with http method.
Creation of two functions redirect_http and redirect_html.
Function redirect calls one or other functions follow $conf or parameters.

$conf value are true on BSF, in order to check modifications.
Must be set to false on RC.

git-svn-id: http://piwigo.org/svn/trunk@1649 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2006-12-11 06:04:53 +00:00
parent 222afe2caa
commit d54d1a5234
3 changed files with 54 additions and 4 deletions
+3
View File
@@ -240,6 +240,9 @@ $conf['check_upgrade_feed'] = true;
// rate_items: available rates for a picture
$conf['rate_items'] = array(0,1,2,3,4,5);
// Define default method to use ('http' or 'html' in order to do redirect)
$conf['default_redirect_method'] = 'http';
// +-----------------------------------------------------------------------+
// | metadata |
// +-----------------------------------------------------------------------+