I would like to create in admin panel to switch debug mode to on/off.
I created new table ‘settings’ with one row:
Name: Debug Mode,
And this is the moment when I am wondering how to transfer value of this row to app.php to set debug mode to on/off from admin panel.
I was trying and searching in the internet.