This commit is contained in:
arcan1s
2014-01-16 23:48:21 +04:00
parent 13661ada27
commit 5846df6c8e
3 changed files with 10 additions and 12 deletions

View File

@ -27,8 +27,8 @@
<script>
var languageinfo=navigator.language? navigator.language : navigator.userLanguage
function redirectpage(dest) {
if (window.location.replace) window.location.replace(dest)
else window.location=dest
if (window.location.replace) window.location.replace(dest)
else window.location=dest
}
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/404")
</script>