Craft CMS Asked by Steven Thate on May 16, 2021
I have a console controller action that needs to change the site’s status under certain conditions. I have not been able to find any documentation or even questions out there about how to do this. Is it even possible?
There are two existing console commands you can use, ./craft on
and ./craft off
(on and off).
If you want/need to implement your own, take a look at the commit.
Correct answer by Oli on May 16, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP