Cache?

  • fatbear
  • 05/25/08
  • Offline
Posted: Thu, 2008-11-27 07:43

I'm getting started on making some modifications to the code. When I modify /usr/libexec/webmin/virtual-server/feature-web.pl and then do an action using the GUI, I don't see my changes.

For example, if I comment out the line in the sub backup_web: [code:1]&$first_print($text{'backup_apachecp'});[/code:1]I still see this line emitted when doing a backup. This is just an example for illustration purposes.

What do I need to do to enable my changes to be seen as I'm modifying the codebase?


Re:Cache?

  • andreychek
  • 01/04/09
  • Offline
  • Thu, 2008-11-27 07:46

Are you restarting Webmin after making your changes?

Ie, just running: /etc/init.d/webmin restart

In theory, that should be all you need to do for your changes to take effect. -Eric


Re:Cache?

  • fatbear
  • 05/25/08
  • Offline
  • Thu, 2008-11-27 07:55

Thanks... no, I wasn't restarting webmin. I thought I could change it and have the changes taken immediately. So, I did restart webmin and it certainly did work. Many thanks!