[horde] Accès IMP et MIMP

Dr Patrick Atlas patrick.atlas at mg-france.fr
Tue Jun 3 04:47:52 PDT 2003


Few months ago, Chuck gave me (thanks Chuck!) a small piece of code (into
config.php) to allow our users to access their mails via internet (IMP) or
WAP (MIMP).

The code was:

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

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

But, after a CVS upgrade, it doesn't work and no login is available.
We were able to allow logins only with IMP.
Is there something to change to allow login with MIMP again?

Thanks!

Patrick Atlas





More information about the horde mailing list