Multiple domain drop down
Thomas Bruederli
roundcube at gmail.com
Wed Oct 12 15:03:27 CEST 2005
With the latest version, you can also set an associative array to have
a 'nice' label displayed in the hosts pulldown:
array('sitea.com' => 'Server A', 'siteb.com' => 'Server B');
or if you have to specify different connections:
array('ssl://server.com' => 'Secure Server', 'server.com' => 'Unsecure Server');
Thomas
2005/10/12, justin randell <justin at babel.com.au>:
> try this:
>
> $rcmail_config['default_host'] = array('sitea.com', 'siteb.com',
> 'sitec.com');
>
> or:
>
> $rcmail_config['default_host'][] = 'sitea.com';
> $rcmail_config['default_host'][] = 'siteb.com';
> $rcmail_config['default_host'][] = 'sitec.com';
>
> cheers
> justin
>
>
> Greg Miller wrote:
>
> >That's what I thought. When I put in my domain like that I get the
> >following error in firefox:
> >
> >Parse error: parse error, unexpected '['
> >in /var/www/localhost/htdocs/roundcubemail/config/main.inc.php on line
> >33
> >
> >Line 33 of main.inc.php:
> >
> >$rcmail_config['default_host'] = ['sitea.com', 'siteb.com',
> >'sitec.com'];
> >
> >Thanks for the help!
> >
> >On Wed, 2005-10-12 at 00:09 -0400, Praneet Kandula wrote:
> >
> >
> >
> >>if it's an array, it should be ['sitea.com', 'siteb.com', 'sitec.com']
> >>etc.
> >>
> >>
> >>
> >>
> >>On 10/11/05, Greg Miller <gmiller at mainstaydata.com> wrote:
> >>
> >> I have tried everything I can think of to get the drop down
> >> box with multiple domains for selection at login to work.
> >> What do I have to do?
> >> I have tried:
> >> 'sitea.com siteb.com'
> >> 'sitea.com, siteb.com'
> >> 'sitea.com'
> >> siteb.com'
> >>
> >> I'm pretty sure it's something stupid that I'm overlooking.
> >> Thanks in advance for the help.
> >> --
> >> Greg Miller
> >> www.mainstaydata.com
> >>
> >>
> >>
> >>
> >>
> >
> >--
> >Greg Miller
> >www.mainstaydata.com
> >
> >
> >
>
>
>
More information about the Dev
mailing list