From 2ee497f233166212ea31439c64272b22fc0d2f4e Mon Sep 17 00:00:00 2001 From: filip Date: Mon, 13 Jun 2016 01:25:30 +0200 Subject: ligher server load with redirection adding some 'die' instructions after header('Location: ... --- langs.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'langs.inc.php') diff --git a/langs.inc.php b/langs.inc.php index 5c18dd2dc..42bb3a748 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -90,6 +90,7 @@ function relocate($langs, $page = '', $default_locale = 'en', $force_accept_lang if ('cli' != PHP_SAPI && $do_redirect) { header('Location: ' . $relocate); + die; } return $relocate; -- cgit v1.2.1