mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 19:03:34 +00:00
set default language in translator from session
This commit is contained in:
parent
7a1729e0c8
commit
c649d9e495
|
|
@ -65,6 +65,8 @@ if (!isset($_COOKIE["mydms_session"])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$translator->setDefaultLanguage($session->getLanguage());
|
||||||
|
|
||||||
/* Update last access time */
|
/* Update last access time */
|
||||||
if((int)$resArr['lastAccess']+60 < time())
|
if((int)$resArr['lastAccess']+60 < time())
|
||||||
$session->updateAccess($dms_session);
|
$session->updateAccess($dms_session);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user