aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/common.inc.php6
-rw-r--r--install.php6
-rw-r--r--upgrade.php6
3 files changed, 18 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 1ec1d38c7..8ef47b0a0 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -125,6 +125,12 @@ else if ('de_DE' == $user['language']) {
else if ('es_ES' == $user['language']) {
define('PHPWG_DOMAIN', 'es.piwigo.org');
}
+else if ('pl_PL' == $user['language']) {
+ define('PHPWG_DOMAIN', 'pl.piwigo.org');
+}
+else if ('zh_CN' == $user['language']) {
+ define('PHPWG_DOMAIN', 'cn.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}
diff --git a/install.php b/install.php
index fb47cc479..0b751a475 100644
--- a/install.php
+++ b/install.php
@@ -192,6 +192,12 @@ else if ('de_DE' == $language) {
else if ('es_ES' == $language) {
define('PHPWG_DOMAIN', 'es.piwigo.org');
}
+else if ('pl_PL' == $language) {
+ define('PHPWG_DOMAIN', 'pl.piwigo.org');
+}
+else if ('zh_CN' == $language) {
+ define('PHPWG_DOMAIN', 'cn.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}
diff --git a/upgrade.php b/upgrade.php
index 0a5cf704d..394bed440 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -163,6 +163,12 @@ else
if ('fr_FR' == $language) {
define('PHPWG_DOMAIN', 'fr.piwigo.org');
}
+else if ('pl_PL' == $language) {
+ define('PHPWG_DOMAIN', 'pl.piwigo.org');
+}
+else if ('zh_CN' == $language) {
+ define('PHPWG_DOMAIN', 'cn.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}