mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
override theme even if autologin is turned on
This commit is contained in:
parent
42a0df1d52
commit
e2db558de7
|
@ -37,9 +37,9 @@ if (!isset($_COOKIE["mydms_session"])) {
|
|||
exit;
|
||||
}
|
||||
$theme = $user->getTheme();
|
||||
if (strlen($theme)==0) {
|
||||
if (strlen($theme)==0 || !empty($settings->_overrideTheme)) {
|
||||
$theme = $settings->_theme;
|
||||
$user->setTheme($theme);
|
||||
// $user->setTheme($theme);
|
||||
}
|
||||
$lang = $user->getLanguage();
|
||||
if (strlen($lang)==0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user