if it's an array, it should be ['sitea.com http://sitea.com', 'siteb.comhttp://siteb.com', 'sitec.com http://sitec.com'] etc.
On 10/11/05, Greg Miller gmiller@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 http://sitea.com siteb.com http://siteb.com' 'sitea.com http://sitea.com, siteb.com http://siteb.com' 'sitea.com http://sitea.com' siteb.com http://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 http://www.mainstaydata.com
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@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
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@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
Beautiful! Cheers!
On Wed, 2005-10-12 at 14:26 +1000, justin randell wrote:
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@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
-- Greg Miller www.mainstaydata.com
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@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@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