Disable plugin on localhost

Hello,

is it possible to disable a plugin on a localhost dev server?

i’ll try this plugin: https://github.com/getkirby-plugins/cdn-plugin
But it would not work on localhost i think.

Svnt

You should be able to turn everything off in your local config.php.

c::set('cdn.assets', false);
c::set('cdn.content', false);
c::set('cdn.thumbs', false);
1 Like

Thanks! i’ll try this out.

Or, you could just not put these options in your general config file at all, and only include them in the config for your production server.

2 Likes