Moritz L'Hoest

Results 115 comments of Moritz L'Hoest

@brandonkelly This was originally on the list for 4.0, but it has been removed from the 4.0 milestone. Was this feature more difficult to implement than anticipated, or is there...

@brandonkelly That's too bad, but thanks for the info! This definitely has my vote for a highly anticipated feature 🙃

@brandonkelly Mabye you could just exclude `system.live` from the project-config? I don't think the on/off state of the system really needs to be part of the persistent configuration, since it's...

@nickdunn Interesting workaround! But how would you go about changing the environment variable only during deployments? Changing the environment the deployment scripts run in won't have any effect on PHP-FPM...

> I'm using an Azure App Service and I manually change the env var within the Azure portal, which restarts my Docker container. Our deployments are automated in a similar...

> Agreed. Maybe this thread should be restructured to a feature request, to remove "live" status from project config? Either that or maybe have the `off` and `on` commands somehow...

Great change regarding environment variable support for the System Status! Though I would still love to see an update to the `on` / `off` commands that allows them to supersede...

> It’s not possible for Craft/PHP to modify an environment variable that would affect other requests. Not the environment literally, but how about @JshGrn's suggestion to write the value to...

@brandonkelly Thanks for the update, that's a great improvement. I'll implement this in all our sites once it's live! I've updated my answer to the [original question on Craft.SE](https://craftcms.stackexchange.com/questions/38289/managing-issystemlive-with-project-config/38290#38290) to...

@brandonkelly Thanks for the response! But this is not the issue. I'm not calling the function directly, the three dots are the [first class callable syntax](https://www.php.net/manual/en/functions.first_class_callable_syntax.php) introduced in PHP 8.1....