aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-03-17 21:33:47 +0000
committerplegall <plg@piwigo.org>2009-03-17 21:33:47 +0000
commit810a0b1783cad8e7153454064f6bfb53984bded3 (patch)
tree2be11b7ddce3fd5fd45854fd866a492b90f37ebf /include
parent00ce8c1bab749c22ab0c355bdc54d9378d4b6732 (diff)
new: it.piwigo.org/forum is online, PHPWG_DOMAIN updated inside Piwigo.
git-svn-id: http://piwigo.org/svn/branches/2.0@3210 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/common.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 2cd761f9c..d265b0690 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -129,6 +129,9 @@ include(PHPWG_ROOT_PATH.'include/user.inc.php');
if ('fr_FR' == $user['language']) {
define('PHPWG_DOMAIN', 'fr.piwigo.org');
}
+else if ('it_IT' == $user['language']) {
+ define('PHPWG_DOMAIN', 'it.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}
@@ -234,4 +237,4 @@ add_event_handler('render_comment_content', 'parse_comment_content');
add_event_handler('render_comment_author', 'strip_tags');
add_event_handler('blockmanager_register_blocks', 'register_default_menubar_blocks', EVENT_HANDLER_PRIORITY_NEUTRAL-1);
trigger_action('init');
-?> \ No newline at end of file
+?>