Using site php
We recommend you to use file application/configs/site.php (Rename file application/configs/site-dist.php to site.php if file site.php is not exists) for your customisation. If you follow this advice, your customizations won't be lost after upgrade, and it will be easy to track. You can put any custom code here.