mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix warning: use of undefined constant LOCALE_DOMAIN
This commit is contained in:
parent
10637efee3
commit
24ef4b18fa
@ -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 New Issue
Block a user