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 <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



--
_______________________________________________

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
_______________________________________________

--
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