diff options
author | ddtddt <ddtddt@piwigo.org> | 2009-10-15 15:17:33 +0000 |
---|---|---|
committer | ddtddt <ddtddt@piwigo.org> | 2009-10-15 15:17:33 +0000 |
commit | a0a640fa10197daf12e9f530565a74f628afd415 (patch) | |
tree | a2a10b5144fbfede517572dfcbe287d70214a487 /include/common.inc.php | |
parent | 6d5d2133cfaeb17d526dc62b52fdf99e6d665340 (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.php | 6 |
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'); } |