TR : [mimp] MIMP without IMP login

Dr Patrick Atlas patrick.atlas at mg-france.fr
Tue Apr 8 18:59:48 PDT 2003


Thanks Chuck for your answer. 
The $conf['auth']['driver'] and $conf['auth']['params'] must be in the
conf.php of horde/config
But where do you write the if (...) lines of code? 

Thanks

Patrick Atlas

> 
> Quoting Dr Patrick Atlas <patrick.atlas at mg-france.fr>:
> 
> > As I didn't find any archives for this list, here is my question:
> 
> http://lists.horde.org/archives/mimp/
> 
> > I tried to connect directly to the mimp module using 
> > domain.com/horde/mimp address but it still asks for IMP 
> > authentification (basic horde authentification on my system). What is 
> > the way to connect to the mimp application with wap (failed till now)?
> 
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params'] = 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';
>     }
> }
> 
> 
> -chuck
> 
> p.s. authentification is not a word.
> 
> --
> Charles Hagenbuch, <chuck at horde.org>
> "... It is not more light we need, but more warmth! We die of cold, not of
> darkness. It is not the night that kills, but the frost." - Miguel de
> Unamuno
> 
> -- 
> mimp mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: mimp-unsubscribe at lists.horde.org
> 




More information about the mimp mailing list