From: Jamie C. <jca...@we...> - 2002-11-26 22:57:00
|
Guillaume Devoyon wrote: > Hello, > i've made my own module for webmin. > When i install it, I install an classical webmin and after i install the new > repository in /usr/libexec/webmin. > I change the *.acl and all the category files in order to use mine. > I have also made under /etc an "emplacement" repository where i've put an > config file as described in the module document. > My problem is that webmin seem to not use it... > Of course, everything in the script is ok because they are working fine > under my development plateform.(for information i use the > foreign_config(module) function. > > Do i miss something in configuration file ? Any contents of the file /etc/webmin/modulename/config will be read into the global %config hash when your module calls &init_config(). Every CGI program should call that function, usually by require'ing a library that does it. Does that make things any clearer? - Jamie |