mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Fix warning: use of undefined constant LOCALE_DOMAIN
This commit is contained in:
parent
10637efee3
commit
24ef4b18fa
1 changed files with 3 additions and 3 deletions
|
@ -93,10 +93,10 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
|
|||
putenv("LANG=" . $_SESSION['locale']);
|
||||
setlocale(LC_ALL, $_SESSION['locale']);
|
||||
|
||||
bindtextdomain(LOCALE_DOMAIN, LOCALE_ROOT);
|
||||
bind_textdomain_codeset(LOCALE_DOMAIN, 'UTF-8');
|
||||
bindtextdomain('LOCALE_DOMAIN', 'LOCALE_ROOT');
|
||||
bind_textdomain_codeset('LOCALE_DOMAIN', 'UTF-8');
|
||||
|
||||
textdomain(LOCALE_DOMAIN);
|
||||
textdomain('LOCALE_DOMAIN');
|
||||
|
||||
function getLocales()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue