If you need to edit one of the WebGUI core modules, a safer way of doing this that will be upgrade-proof is to add an additional directory for your overrides. In the example below, I've suggested creating a site_lib directory in the WebGUI root.
For more details see the forum discussion "Safer Hacking of WebGUI Core".
Keywords: development WRE