1
0
This repository has been archived on 2025-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
LuckyCoinkydink/include
Garvin Hicking 6f2858ad27 Fix the error_reporting somewhat; until now, prevent E_STRICT errors were not correctly surpressed, but
we need to do this, because otherwise older plugins will prevent Serendipity from loading.

I actually wanted to at least "break" stuff and report errors, when $serendipity['production'] is set to "debug".

However, this does NOT work for me (PHP 5.2); even when set to "debug", E_STRICT errors do not seem to show up.
I'm quite at a loss here, so anyone reading this, go ahead and inspect.

At least it makes this version work when "older" plugins exists. It would be great if the code could be made to show the debug errors in debug mode.

I shuffled around the error_reporting() position because when someone sets the variable in serendipity_config_local.inc.php it would be too early to affect code flow; now it should evaluate the variable properly.
2013-01-20 01:24:23 +01:00
..
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2011-11-24 12:16:02 +01:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2008-12-09 10:41:48 +00:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00
2012-12-13 14:49:51 +01:00