aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/constitution/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/constitution/index.php')
-rw-r--r--en/about/constitution/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php
index 00bcb49f9..70ae88108 100644
--- a/en/about/constitution/index.php
+++ b/en/about/constitution/index.php
@@ -34,9 +34,9 @@ _lang_load($locale, "about/constitution");
<div class="para">
<?php
include G_APP_ROOT . '/lib/php-markdown/markdown.php';
- $l = isset($_GET['l']) ? $_GET['l'] : $locale;
- if(in_array($l, array('en', 'fr', 'sl', 'tr', 'ro', 'de', 'pt-br', 'el', 'id', 'uk', 'ru', 'es'))) {
- echo Markdown(file_get_contents('mageia.org_statutes_' . $l . '.md'));
+// $l = isset($_GET['l']) ? $_GET['l'] : $locale;
+ if(in_array($locale, array('en', 'fr', 'sl', 'tr', 'ro', 'de', 'pt-br', 'el', 'id', 'uk', 'ru', 'es'))) {
+ echo Markdown(file_get_contents('mageia.org_statutes_' . $locale . '.md'));
} else {
echo Markdown(file_get_contents('mageia.org_statutes_en.md'));
}