1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Fix locales_dir stuff in config.php

This commit is contained in:
Alexandre Aubin 2021-03-30 16:06:18 +02:00 committed by GitHub
parent e026be7911
commit 12ff876d45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ function before($route) {
setlocale(LC_ALL, $lang);
setlocale(LC_CTYPE, $lang);
$locales_dir = dirname(__FILE__).'/i18n';
$locales_dir = '__FINAL_PATH__/i18n';
bindtextdomain($textdomain, $locales_dir);
bind_textdomain_codeset($textdomain, 'UTF-8');