[cvs] [Wiki] changed: MIMPHowTo
Jan Schneider
jan at horde.org
Sat May 15 04:05:06 PDT 2004
jan Sat, 15 May 2004 04:05:05 -0700
Modified page: http://wiki.horde.org/display.php?page=MIMPHowTo
New Revision: 1.1
@@ -1 +1,26 @@
++ MIMP !HowTo
+If you want to setup MIMP in parallel with IMP, you need the composite authentication driver with a browser switch:
+
+<php>
+$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';
+ $browser = &new Browser();
+ if ($browser->isMobile()) {
+ return 'mimp';
+ }
+ return 'imp';
+ }
+}
+</php>
+
+This will give you either the IMP or the MIMP login screen, depending on the browser you use.
More information about the cvs
mailing list