diff options
author | rub <rub@piwigo.org> | 2006-12-11 06:04:53 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-12-11 06:04:53 +0000 |
commit | d54d1a52349c30f81529095ce21befda4079180e (patch) | |
tree | b60c3579e01e1de2af37433d0d8063c0d96651b3 /include/config_default.inc.php | |
parent | 222afe2caa357d6d31efdef87e2444d3e042880d (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 1f572fe91..a2a06ab75 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -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 | // +-----------------------------------------------------------------------+ |