Quoting Matthias Mahrholz <mahrh...@ovgu.de>:

$conf['auth']['params']['drivers'] = array(
   'imp' => array('driver' => 'application',
                  'params' => array('app' => 'imp')),
   'mimp' => array('driver' => 'application',
                   'params' => array('app' => 'mimp')));

$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';

if (!function_exists('_horde_select_loginscreen')) {
   function _horde_select_loginscreen()
   {
       require_once 'Horde/Browser.php';
//        require_once HORDE_BASE . '/lib/Horde/Browser.php';
       $browser = new Browser();
       if ($browser->isMobile()) {
           return 'mimp';
       }
       return 'imp';
   }
}

Don't do this.  None of this (outside of the imp application info) is needed.

michael

--
___________________________________
Michael Slusarz [slus...@horde.org]

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to