On Wednesday 16 April 2008, Hugo Koblmueller wrote:
just wondering if there is any possibility to use global variables in openser.cfg? like e.g. for configuration values, constants, ..
Hi Hugo,
you could use the shared variables from cfgutils: http://www.openser.org/docs/modules/devel/cfgutils.html#id2480071
There are at the moment only available for the trunk version, though.
another question: how can i access the configuration paramerters like "debug", "port", etc.
You can access them from any module, as many of them are global variables. For the script just use a preprocessor, as IƱaki said.
Cheers,
Henning