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.--- src/tests/sloppy_comparison_array_disabled.phpt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/sloppy_comparison_array_disabled.phpt') diff --git a/src/tests/sloppy_comparison_array_disabled.phpt b/src/tests/sloppy_comparison_array_disabled.phpt index b98c06b..e8cd77b 100644 --- a/src/tests/sloppy_comparison_array_disabled.phpt +++ b/src/tests/sloppy_comparison_array_disabled.phpt @@ -2,6 +2,8 @@ Sloppy comparison in_array disabled --SKIPIF-- +--INI-- +sp.allow_broken_configuration=On --FILE--