Where is license info stored?

I have bought a license for Kirby and activated it on the live site.

However, when I work on the site locally and then upload the Assets, Content and Site folder (and the Kirby folder when updating Kirby), the Panel asks me to activate the license again.

I presume my local files do not have the license key stored in a file. So when uploaded the folders to the live site it overwrites the file with the license key – so I’m continually having to re-active it.

Which file stores the license key? – I can then copy this file from the server to my local files so I don’t have to continually re-license Kirby.

It’s the site/config/.license file. I think the reason why it asks you to re-activate is that the license file is bound to a URL - so the same license file that works locally will not match for your server. We recommend to only activate the actual instance (on the server).

Hey thanks.

Yeah, I’ve only licensed it on the server.

That’s worked. I’ve copied (and replaced) the file to my local files. Now when I update the Site folder on my server the license key and URL are correct and it isn’t asking me to re-license.