mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 10:53:33 +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 */
|
||||
if((int)$resArr['lastAccess']+60 < time())
|
||||
$session->updateAccess($dms_session);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user