mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-04 06:53:13 +02:00
Plus besoin de nocache
This commit is contained in:
parent
dfc26100e4
commit
01a01ca11e
|
@ -13,3 +13,5 @@ trim_trailing_whitespace = true
|
|||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
7
app.php
7
app.php
|
@ -46,9 +46,10 @@ if ($f3->get('GET.lang')) {
|
|||
changeLanguage($_COOKIE['LANGUAGE'], $f3);
|
||||
}
|
||||
|
||||
bindtextdomain('application', $f3->get('ROOT')."/locale/nocache");
|
||||
bindtextdomain('application', $f3->get('ROOT')."/locale");
|
||||
textdomain('application');
|
||||
$domain = basename(glob($f3->get('ROOT')."/locale/application_*.pot")[0], '.pot');
|
||||
|
||||
bindtextdomain($domain, $f3->get('ROOT')."/locale");
|
||||
textdomain($domain);
|
||||
|
||||
function changeLanguage($lang, $f3) {
|
||||
$_SESSION['LANGUAGE'] = $lang;
|
||||
|
|
Loading…
Reference in a new issue