From fa69a788a820903ab519a6050cd0c71508ff6b28 Mon Sep 17 00:00:00 2001 From: onli Date: Sun, 4 Jul 2021 12:39:04 +0200 Subject: [PATCH] Enable production mode for beta and rc versions To enable sane testing with PHP 8 --- serendipity_config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 6876a7f8..7338d6a4 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -56,7 +56,7 @@ $serendipity['version'] = '2.4-alpha2'; // Setting this to 'false' will enable debugging output. All alpha/beta/cvs snapshot versions will emit debug information by default. To increase the debug level (to enable Smarty debugging), set this flag to 'debug'. if (!isset($serendipity['production'])) { - $serendipity['production'] = ! preg_match('@\-(alpha|beta|cvs|rc).*@', $serendipity['version']); + $serendipity['production'] = ! preg_match('@\-(alpha|cvs).*@', $serendipity['version']); } // Set error reporting