[imp] MIMP: Page not found
Matthias Mahrholz
mahrholz at ovgu.de
Mon Oct 19 09:01:41 UTC 2009
o.k. - is deleted.
Now display Horde login page (horde/login.php) instead of
Imp login page (horde/imp/login.php).
Did I forget a parameter?
Matthias
> 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
>
--
_______________________________________________
Otto-von-Guericke-Universität Magdeburg
Universitätsrechenzentrum
Postfach 4120, Universitätsplatz 2,
Magdeburg 39016 Magdeburg 39106
Telefon: 0391-67 18406 Telefax: 0391-67 11134
_______________________________________________
More information about the imp
mailing list