diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-02-25 08:47:39 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-02-25 08:47:39 +1100 |
| commit | d446ba94b967939eb328d11ce0fd508fa66e3ff9 (patch) | |
| tree | 7970cca7f245659121c1b36212726c01b57e008b /inc/config.php | |
| parent | ef5aa63ea8651f4e6e85bd21927982f220d09228 (diff) | |
use 303 See Other instead of 302 Found, by default
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php index 93e1d316..3e976622 100644 --- a/inc/config.php +++ b/inc/config.php @@ -67,10 +67,9 @@ // Directory where temporary files will be created. Not really used much yet except for some experimental stuff. $config['tmp'] = '/tmp'; - // The HTTP status code to use when redirecting. - // Should be 3xx (redirection). http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - // "302" is strongly recommended. (This shouldn't even be configurable... It's not like it's going to change or anything.) - $config['redirect_http'] = 302; + // The HTTP status code to use when redirecting. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + // Can be either 303 "See Other" or 302 "Found". (303 is more correct but both should work.) + $config['redirect_http'] = 303; // A small file in the main directory indicating that the script has been ran and the board(s) have been generated. // This keeps the script from querying the database and causing strain when not needed. |
