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