[Cartoweb-users] Use paramater from ini file

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Jun 14 04:32:37 EDT 2006


use $this->getConfig()->someParameterName in your plugin code with 
"someParameterName" being one of the parameters in your plugin config file.

Plugin config files must have the same name than the plugin itself. For 
instance: plugin "auth" => config: "auth.ini".

Jacolin Yves a écrit :
> Hello,
> I create a myPlugin.ini in client_conf/ in my project. How can I use 
> parameters in this file ?
> I create my plugin from scratch, so I can't use my parameters from another 
> config file.
> Regards,
> Y.

More information about the Cartoweb-users mailing list