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:
parent
355c292179
commit
cc8ecfeebd
1 changed files with 0 additions and 12 deletions
|
@ -20,18 +20,6 @@ include_once(INC.'/ep_header.php');
|
||||||
|
|
||||||
define('DEBUG', false);
|
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)
|
// Domain email (separe with ; exemple : exemple.com;zici.fr;exemple.fr)
|
||||||
define('DOMAIN', 'exemple.fr');
|
define('DOMAIN', 'exemple.fr');
|
||||||
//define('DOMAIN', 'exemple.com;zici.fr;exemple.fr');
|
//define('DOMAIN', 'exemple.com;zici.fr;exemple.fr');
|
||||||
|
|
Loading…
Add table
Reference in a new issue