From b3f67a16094168cc334f5da93a86f09476e01601 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Thu, 30 Aug 2018 15:02:22 +0200 Subject: Change how we're handling invalid configurations Since our configuration format is a bit more complex than php's one, we have a `sp.allow_broken_configuration` parameter (`false` by default), that you can set to `true` if you want PHP to carry on if your Snuffleupagus' configuration contains syntax errors. You'll still get a big scary message in your logs of course. We do **not** recommend to use it of course, but sometimes it might be useful to be able to "debug in production" without breaking your website.--- doc/source/config.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/source') diff --git a/doc/source/config.rst b/doc/source/config.rst index e209ecb..8fd9097 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -50,6 +50,14 @@ To sum up, you should put this in your ``php.ini``: And the **snuffleupagus rules** into the ``.rules`` files. +Since our configuration format is a bit more complex than php's one, +we have a ``sp.allow_broken_configuration`` parameter (``false`` by default), +that you can set to ``true`` if you want PHP to carry on if your Snuffleupagus' +configuration contains syntax errors. You'll still get a big scary message in +your logs of course. We do **not** recommend to use it of course, but sometimes +it might be useful to be able to "debug in production" without breaking your +website. + Miscellaneous ------------- @@ -70,6 +78,7 @@ This configuration variable contains parameters that are used by multiple featur - ``cookie_env_var``: A environment variable used as part of cookies encryption. See the :ref:`relevant documentation ` + Bugclass-killer features ------------------------ -- cgit v1.3