Sandro Dentella wrote:
> Hi, lately I developed a module for webmin in php and I will let it
> available (GPL) within few days and others may follow, but first I would
> like to understand where should I place things correctly.
>
> I thought to create a subdir 'php' of webmin main directory (/usr/share/webmin
> in Debian) and to put there the php library and some more file needed (eg.:
> a simple javascript file to add tooltips). This would be different from
> leaving web-lib.php in main dir that is the model used now. Would that be a
> reasonable choice?
You could use a subdirectory, although it would make more sense in the long term
to put the files in the webmin root directory if they are going to be included
in the main distribution. A subdirectory should work perfectly for now though,
and would make their distribution easier ..
> I also made some functions that are much more general than simply for
> webmin (eg.: a form generator), maybe I should put them under /usr/lib/php4?
>
> Copywrite issue: I changed a little the version of web-lib.php I found on
> the site but I don't see any copywright not in the file so I don't know if
> I'm entitled to modify and put it in a GPL module. (Jamie do you have a
> private address of the author or can you ask him to contact me?)
The guy who originally developed it was
Nicolas FAURANT <nic...@qu...>
> As a last issue: is there some security concern why I should fear php with
> webmin more than perl?
- Jamie
|