Hi Zoran, > Idea is to allow ns_config to actually write the > config, instead of only reading it. [...] >Unfortunately >this works only during the startup i.e. things can be >added to the config only at startup and later on you can >only read it. What I would need is the ability to write >new and/or change the existing values.
Sounds good! My only suggestion would be to be somehow able to let the current behaviour (read-only-access) be configurable or default; read-only-access in some situations is a means of security - in others of course it is more or less useless, as one can drop or at least delete the database anyway. A change of an option should also be worth a "ns_log notice" in that respect. If, as a side-effect of your work, you will find it easy to implement a way to let ns_config return all a) non-core/non-default/non-c-module-specific b) not-belonging-to-this-section configuration options, I'll ask you to implement that, too! :-) Cheerio! Bernd.