diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 06:27:13 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 06:27:13 -0400 |
| commit | 2f4e2daa615dddb251fc1f5b8a1ff4de08a2fc83 (patch) | |
| tree | 5670fb4f9b75afc21282fa085749d8645046063d | |
| parent | 424de7561dcd1476c64f42f86af2a42fa2c39814 (diff) | |
Fix redirect with board config editor (raw php)
| -rw-r--r-- | inc/mod/pages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 38bdac8b..0a9f825b 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1958,7 +1958,7 @@ function mod_config($board_config = false) { if (!$readonly && isset($_POST['code'])) { $code = $_POST['code']; file_put_contents($config_file, $code); - header('Location: ?/config', true, $config['redirect_http']); + header('Location: ?/config' . ($board_config ? '/' . $board_config : ''), true, $config['redirect_http']); return; } |
