Ignore:
Timestamp:
Mar 14, 2009, 12:37:34 AM (15 years ago)
Author:
plg
Message:

bug 926 fixed: change links to piwigo.org so that they go to existing URLs.

new: if the current language is french, the links go to fr.piwigo.org insted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/common.inc.php

    r3137 r3196  
    126126include(PHPWG_ROOT_PATH.'include/user.inc.php');
    127127
     128if ('fr_FR' == $user['language']) {
     129  define('PHPWG_DOMAIN', 'fr.piwigo.org');
     130}
     131else {
     132  define('PHPWG_DOMAIN', 'piwigo.org');
     133}
     134define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
     135define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
     136
    128137
    129138// language files
Note: See TracChangeset for help on using the changeset viewer.