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:
parent
e026be7911
commit
12ff876d45
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue