aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--langs.inc.php2
-rw-r--r--langs.php3
-rw-r--r--pt/about/code-of-conduct/index.php (renamed from pt-br/about/code-of-conduct/index.php)0
-rw-r--r--pt/about/values/index.php (renamed from pt-br/about/values/index.php)0
-rw-r--r--pt/faq/index.php (renamed from pt-br/faq/index.php)0
-rw-r--r--pt/index.php (renamed from pt-br/index.php)0
6 files changed, 4 insertions, 1 deletions
diff --git a/langs.inc.php b/langs.inc.php
index b635ce5b2..b38c58ef2 100644
--- a/langs.inc.php
+++ b/langs.inc.php
@@ -14,7 +14,7 @@ $langs = array(
'nb' => 'Bokmål',
'nl' => 'Nederlands',
'pl' => 'Polski',
- 'pt-br' => 'Português do Brasil',
+ 'pt' => 'Português',
'ro' => 'Română',
'ru' => 'Русский',
'tr' => 'Türkçe',
diff --git a/langs.php b/langs.php
index 9bca1e54b..158b5c00f 100644
--- a/langs.php
+++ b/langs.php
@@ -2,6 +2,9 @@
/**
*/
+$g_app_root = realpath(dirname(__FILE__));
+define('G_APP_ROOT', $g_app_root);
+
require_once 'langs.inc.php';
$sru = trim($_SERVER['REQUEST_URI']);
diff --git a/pt-br/about/code-of-conduct/index.php b/pt/about/code-of-conduct/index.php
index b526a5efb..b526a5efb 100644
--- a/pt-br/about/code-of-conduct/index.php
+++ b/pt/about/code-of-conduct/index.php
diff --git a/pt-br/about/values/index.php b/pt/about/values/index.php
index a6400683b..a6400683b 100644
--- a/pt-br/about/values/index.php
+++ b/pt/about/values/index.php
diff --git a/pt-br/faq/index.php b/pt/faq/index.php
index 90386895e..90386895e 100644
--- a/pt-br/faq/index.php
+++ b/pt/faq/index.php
diff --git a/pt-br/index.php b/pt/index.php
index caeb59b92..caeb59b92 100644
--- a/pt-br/index.php
+++ b/pt/index.php