Handle customizations and automatic updates


(Paulo Vieira) #1

Quick question: suppose I want to make a small modification in lib/email/receiver.rb. I will do it directly in server. Will this affect the automatic updates of my discourse?

I mean, will the updates override my modifications? Or will the updates be possible at all?


(Régis Hanol) #2

If you want your modifications to stick between updates, your only option is to make them in a plugin. Otherwise, they’ll be overwritten every time you update.