Enable production mode for beta and rc versions

To enable sane testing with PHP 8
This commit is contained in:
onli 2021-07-04 12:39:04 +02:00
parent 8d8aa4ce66
commit fa69a788a8

View File

@ -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