# Local customizations broke site on upgrade, how to disable?

**URL:** <https://meta.discourse.org/t/local-customizations-broke-site-on-upgrade-how-to-disable/28724>\
**Category:** Product Support\
**Created:** [12.Май.2015 22:31:00 UTC](https://meta.discourse.org/t/local-customizations-broke-site-on-upgrade-how-to-disable/28724 "2015-05-12T22:31:00Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [26.Ноябрь.2015 19:26:10 UTC](https://meta.discourse.org/t/local-customizations-broke-site-on-upgrade-how-to-disable/28724/35 "2015-11-26T19:26:10Z")

</div>

You could put in a migration that does a string comparison for `text/x-handlebars` on all the customizations, and sets the setting to true at migration time if any are there.

No need for human intervention, and we get the perf boost.

---

_[View the full topic](https://meta.discourse.org/t/local-customizations-broke-site-on-upgrade-how-to-disable/28724)._
