diff --git a/app.php b/app.php index a87195f..650b6b9 100644 --- a/app.php +++ b/app.php @@ -46,7 +46,8 @@ if ($f3->get('GET.lang')) { changeLanguage($_COOKIE['LANGUAGE'], $f3); } -bindtextdomain('application', $f3->get('ROOT')."/locale/"); +bindtextdomain('application', $f3->get('ROOT')."/locale/nocache"); +bindtextdomain('application', $f3->get('ROOT')."/locale"); textdomain('application'); function changeLanguage($lang, $f3) { diff --git a/locale/nocache b/locale/nocache new file mode 120000 index 0000000..945c9b4 --- /dev/null +++ b/locale/nocache @@ -0,0 +1 @@ +. \ No newline at end of file