aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2009-10-15 15:17:33 +0000
committerddtddt <ddtddt@piwigo.org>2009-10-15 15:17:33 +0000
commita0a640fa10197daf12e9f530565a74f628afd415 (patch)
treea2a10b5144fbfede517572dfcbe287d70214a487 /include
parent6d5d2133cfaeb17d526dc62b52fdf99e6d665340 (diff)
[trunk] Merge 4046 new: de.piwigo.org/forum / es.piwigo.org/forum are online, PHPWG_DOMAIN updated inside Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@4047 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/common.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 9ec56e624..29bc6b29b 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -129,6 +129,12 @@ include(PHPWG_ROOT_PATH.'include/user.inc.php');
if ('fr_FR' == $user['language']) {
define('PHPWG_DOMAIN', 'fr.piwigo.org');
}
+else if ('de_DE' == $user['language']) {
+ define('PHPWG_DOMAIN', 'de.piwigo.org');
+}
+else if ('es_ES' == $user['language']) {
+ define('PHPWG_DOMAIN', 'es.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}