From 12ff876d45c0d226203016728aa9822d5c9cdfbc Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 30 Mar 2021 16:06:18 +0200 Subject: [PATCH] Fix locales_dir stuff in config.php --- conf/config.php.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.php.tpl b/conf/config.php.tpl index 9858e14..4609410 100644 --- a/conf/config.php.tpl +++ b/conf/config.php.tpl @@ -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');