2011年2月15日星期二

[fw-mvc] Application.ini / Arrays

What is the correct way to specify text array within the application.ini


This is what I currently have:

mail.message.forgotten[] = 'Email: [toemail /]'
mail.message.forgotten[] = 'Password: [password /]'
mail.message.forgotten[] = ''
mail.message.forgotten[] = 'To change your password please open [domain
/] in your browser, login and use the form provided.'
recaptcha.pubKey = 6LeqYcESAAAAAIa3LKABz7CxmyLu2N_gm1oIt74W
recaptcha.privKey = ???


Is this correct or is they a 'preferred' method. I ask because on my
local server running 1.11 the application.ini works as expected. On my
production server running 1.10 (I think) it works but any thing that I
specify after the array element displays as NULL when called using the
following method.

$bootstrap->getOption('recaptcha');

Thanks

Lionel

没有评论: