On 7/25/07, roundcube@kamm.hu roundcube@kamm.hu wrote:
Hello,
I'm new to RoundCube, just tried it today, liked it very much, so I decided to modify the code a little to suit my needs, but I'm not a php expert, that's why I need some help. I wanted to disable the e-mail and reply-to modifying options in the identities menu.
In the main.inc.php config file I added a new entry:
rcmail_config['can_change_fromaddr'] = TRUE;
but it seems like that $CONFIG['can_change_fromaddr'] is empty when I try to use it in the edit_identity.inc file.
What am I doing wrong?
In theory - nothing. Have you double checked that "$CONFIG" itself is set? If not, it might not be in your scope. I am assuming you patched against the "regular" release or the regular branch - $CONFIG has to be global then.
Hope that helps, Till _______________________________________________ List info: http://lists.roundcube.net/dev/