diff options
Diffstat (limited to 'langs.inc.php')
-rw-r--r-- | langs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs.inc.php b/langs.inc.php index cb0704cb3..49f326f9d 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -101,10 +101,10 @@ function relocate($langs, $page = '', $default_locale = 'en') $locale->setDefaultLocale($default_locale); - header(sprintf('Location: /%s/%s', + header(str_replace('//', '/', sprintf('Location: /%s/%s', $locale->getCompatibleLocale(), $page - )); + ))); die; } |