1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00

Update conf-dist.php

This commit is contained in:
Krakinou 2018-11-22 21:03:57 +01:00 committed by GitHub
parent 355c292179
commit cc8ecfeebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,18 +20,6 @@ include_once(INC.'/ep_header.php');
define('DEBUG', false);
$supported_locales = array('fr_FR','en_GB');
$locale = "fr_FR";
if(isset($_GET['lang']) && in_array($_GET['lang'], $supported_locales)){
$locale = $_GET['lang'];
}
define('workaround_lang', "C.UTF-8");
putenv("LC_ALL=".workaround_lang);
setlocale(LC_ALL, workaround_lang);
bindtextdomain("strings", "/var/www/emailpoubelle/locale/".$locale);
bind_textdomain_codeset('strings', 'UTF-8');
textdomain("strings");
// Domain email (separe with ; exemple : exemple.com;zici.fr;exemple.fr)
define('DOMAIN', 'exemple.fr');
//define('DOMAIN', 'exemple.com;zici.fr;exemple.fr');