Pancakeswap Clone - how are trading fees edited?

Where are the config for the 0.25% trading fees charged on Pancake?

Is it assigned via contracts, or in the backend? I've searched both and can't find the correct config to edit this.