jbroadway / elefant

Elefant, the refreshingly simple PHP CMS and web framework.
http://www.elefantcms.com
MIT License
209 stars 39 forks source link

CLI: Global settings handler: Settings of array type processing fixed #256

Closed olegiv closed 9 years ago

olegiv commented 9 years ago
#./elefant conf Database.master[pass] qwerty 

generates an error: Invalid setting name: master[pass]

Square brackets have to be enabled in a setting name.

jbroadway commented 9 years ago

Thanks! I merged but changed it in a couple ways:

Using ./elefant conf Database.master[driver] sqlite actually added a new entry instead of replacing the old one. Now it updates the original and the syntax is ./elefant conf Database.master.driver sqlite.

olegiv commented 9 years ago

Thank you!