Browse Source

Fix locales_dir stuff in config.php

Alexandre Aubin 4 years ago
parent
commit
12ff876d45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conf/config.php.tpl

+ 1 - 1
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');