These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for database plugin modification question on the new forum.
Hello,
If I were to modify the mysql plug-in, is there an upgrade-safe way to do it? I would not want my changes to be lost when I upgrade virtualmin...
Here is an oversimplified OS-level example: looking at ubuntu's Bind package, I can modify any files that end in ".local" because those local changes will not be altered by a package upgrade. Thus when I modify Bind, my changes will not be overwritten if I run "apt-get upgrade".
--jason
I believe you could clone the module, and then modify the cloned version. (There is a feature for this in the Webmin->Webmin Configuration->Webmin Modules page.)
I suspect that'd be the safest way to do it; and I seem to recall it's how I used to do module modifications back before I was only making module changes that I intend to push back up into the core (that was a long time ago, so I'm not real confident of exactly what my process looked like).
--
Check out the forum guidelines!