Re: [Cppcms-users] Custom configuration in config.js
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2011-01-07 11:06:29
|
>
>
> Hello,
>
> I would like to add some custom configuration to the application.
Hello,
cppcms::application::settings() return the json object you can access
to fetch the data you need.
See for example from wikipp:
syntax_highlighter=settings().get("wikipp.syntax_highlighter","");
For more detailed examples of using json object see under examples/json
directory
Artyom
|