[Cartoweb-users] Problem ini file parsing and question about switches

Alexandre Saunier alexandre.saunier at camptocamp.com
Fri Apr 13 12:08:50 EDT 2007

> thanks. Maybe, I made a wrong assumption. I thought, all ini files are 
> handled equally and I can add additional keys that I need in an extended 
> plugin without problems.

Ini files are actually not handled equally. Each plugin processes its 
config in its own way (always based on the key=value INI system though).

> The simple problem that I can not solve is: How do I get my extended 
> plugin to read the additional configuration entries so I can use them 
> within the Client class?

Have you tried to adapt the following code, available in ClientLocate.php:

         $locate = ConfigParser::parseObjectArray($this->getConfig(), 
                         array('id', 'sql'));



More information about the Cartoweb-users mailing list