You are hereimp dimp traditional dynamic not showing up at login time
imp dimp traditional dynamic not showing up at login time
After copying our configuration from our old server to our new server, we lost the select box that allowed the user to choose Traditional (imp) or Dynamic (dimp). Reading login.php we found:
if (!empty($conf['user']['select_view'])) {
$apps = $registry->listApps(null, true);
$view_cookie = isset($_COOKIE['default_imp_view'])
? $_COOKIE['default_imp_view']
: ($browser->isMobile() && isset($apps['mimp']) ? 'mimp' : 'imp');
if (isset($apps['dimp']) || isset($apps['mimp'])) {
$views[] = array('sel' => $view_cookie == 'imp',
'val' => 'imp', 'name' => _("Traditional"));
if (isset($apps['dimp'])) {
$views[] = array('sel' => $view_cookie == 'dimp',
'val' => 'dimp', 'name' => _("Dynamic"));
}
if (isset($apps['mimp'])) {
$views[] = array('sel' => $view_cookie == 'mimp',
'val' => 'mimp', 'name' => _("Minimalist"));
}
}
}
So, we added $conf['user']['select_view'] = true to our horde/imp/config/conf.php and that solved it.
Tags
Post new comment