[imp] MIMP: Page not found

Michael M Slusarz slusarz at horde.org
Fri Oct 16 11:53:36 UTC 2009


Quoting Matthias Mahrholz <mahrholz at 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 [slusarz at horde.org]



More information about the imp mailing list