Entering a license info in config.php used to do pretty much nothing, so we didn’t have any incentive to actually do it.
Now in Kirby 2.1 a message is displayed in the Panel if you don’t enter a valid license, so you kinda have to do it, as it would not look serious if your clients saw it all the time.
I can see a few reasons why it can be an annoyance:
if your site’s code is public (e.g. on Github) you don’t want your license there, but still need the other options ;
Good idea and thanks for sharing, but it remains annoying if you want to deploy from that repo as well … then you have to remember to copy the license file separately …
Sorry for the threadomancy Hi @Malvese , I love what you did here. Really could use that for a project I started working on, especially with other stuff like plugin keys etc. Anyway… I can’t get it to work, I think I’m not getting the $license path right in config.php, the panel can’t find the license value. Tried out a few other paths as well, not shown below. Maybe you could help me out, or any other user
Right, although after a few tries I still can’t get the path to work. Dunno if that’s related but I accidentally also found out that a custom panel stylesheet in config.php isn’t responding either. So maybe there’s even a larger error behind the whole multi-site setup which I’m trying to figure out at the moment
@mrunkel Your approach sounds good, although for now I’d like to keep it the “Kirby way” as I think of this structure/ setup. But maybe I’ll get back to JSON files as well.
P.S.: Thanks everyone for not blaming the threadomancy
P.P.S.: I mean… The easiest and fastest way would be a config file for each seperate domain/ site. But… meh
I’ve been delving deeper into the multisite setup during the last days and gotta say how much I love Kirby. Haven’t been developing with K. in quite a long time but oh boy, it’s such a great framework Been doing an individual config.php for each domain/ multisite as @texnixe suggested. It’s definitely the way to go IMHO. Multisite with Uniform and multiple languages, unique Google Analytics keys - all working well.
One thing though, as mentioned: I can’t get a panel stylesheet to work. I’ve tried adding it via site.php, via config.php, created assets/css/panel.css both at root level as well as in multisites, absolute and relative paths, looked into plugins and how they manage to get a panel stylesheet going… Nothing led to a result i.e. a panel stylesheet being loaded. Maybe you guys can help me out.