Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.

How do I set a config value conditionally?

I'm trying to serve one of two themes conditionally in Vanilla 2, depending on the user agent. When I add the conditional manually to /conf/config.php, everything works just fine. But as soon as I set anything in the admin dashboard, that conditional statement (and anything else manually added) gets removed from config.php.

So how is the best way to go about setting the theme conditionally, either inside or outside /conf/config.php?
Sign In or Register to comment.