[webmin-devel] Subdirectories in Modules

Bruce M Potter <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <OF4EB9CA05.A2BE297C-ON85256FD4.0055F114-85256FD4.0056D4AE@us.ibm.com>
I've developed a webmin module that has some of the cgi scripts in 
subdirectories, just to keep things organized.  But somewhere between 
webmin 1.130 and 1.190 it stopped working because when web-lib.pl loads 
web-lib-funcs.pl it assumes it is either in the same dir or 1 level up. In 
my subdirs, it is actually 2 levels up, so none of the functions get 
defined.  I have a temporary work-around, but I wanted to bring this to 
your attention so you could hopefully fix it and let me know if there are 
any other assumptions in the code about a single directory level.  Thanks!

Thanks for a great tool!

Bruce Potter        Linux & AIX Cluster Development, IBM, Poughkeepsie, NY
Email: [email protected]    Phone:  external: 845-433-7073, internal: TL 
293-7073
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.