https://github.com/pce/config_lite/blob/master/README.asciidoc
I'm using Config_Lite, a PEAR module that's great to set and get ini file key values. The problem is that when I save it it does not keep the file structure.
For instance (original ini file):
[scripts]
[admin]
hide_fields[] = ctr_ad_headerImg
[widget_areas]
0.name = "Top Navigation"
0.id = top-nav
0.description = "Widget area at the very top of the page"
[default_colors]
sitebg = #EEEEEE
footerbg = #F8F8F8
link = #5F8200
url = #000000
bg = #F8F8F8
text = #000000
border = #F8F8F8
lu_link = #112BEA
lu_url = #112BEA
lu_bg = #EFEAE4
lu_text = #112BEA
lu_border = #F8F8F8
Modified saved ini file:
[scripts]
[admin]
hide_fields[0] = "ctr_ad_headerImg"
[widget_areas]
0.name = "Top Navigation"
0.id = "top-nav"
0.description = "Widget area at the very top of the page"
[default_colors]
sitebg = "f500f5"
footerbg = "F8F8F8"
link = "F8F8F8"
url = "F8F8F8"
bg = "F8F8F8"
text = "F8F8F8"
border = "F8F8F8"
lu_link = "F8F8F8"
lu_url = "F8F8F8"
lu_bg = "F8F8F8"
lu_text = "F8F8F8"
lu_border = "F8F8F8"
Adds wrong line brakes to the file, but I think the main problem is the "", why does it adds them? how can I prevent it from adding them?