From 5e1cc831d41c627288b509687ba2adfebc648264 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 2 Jun 2013 18:41:28 +0000 Subject: correction for correct link for map page --- 404.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '404.php') diff --git a/404.php b/404.php index 575f37167..57ae1cc27 100644 --- a/404.php +++ b/404.php @@ -5,7 +5,7 @@ _lang_load($locale, '404'); header('HTTP/1.0 404 Not Found'); header('Status: 404 Not Found'); - +$locale = ($locale == '404' ? 'en' : $locale); ?> @@ -25,7 +25,7 @@ header('Status: 404 Not Found');
    mageia.org site map,', array('/map/'), 'li'); + _h('Try searching it on mageia.org site map,', array("/$locale/map/"), 'li'); _h('or try to search with Google.', array('https://www.google.com/?q=site:mageia.org'), 'li'); ?>
-- cgit v1.2.1