mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-10 15:32:29 +01:00
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. git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
497e753bcf
commit
ab6f96964a
14 files changed
+35
-28
No files matched your search
@@ -125,6 +125,15 @@ load_plugins();
|
||||
|
||||
include(PHPWG_ROOT_PATH.'include/user.inc.php');
|
||||
|
||||
if ('fr_FR' == $user['language']) {
|
||||
define('PHPWG_DOMAIN', 'fr.piwigo.org');
|
||||
}
|
||||
else {
|
||||
define('PHPWG_DOMAIN', 'piwigo.org');
|
||||
}
|
||||
define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
|
||||
define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
|
||||
|
||||
|
||||
// language files
|
||||
load_language('common.lang');
|
||||
|
||||
Reference in new issue
Block a user