set minimum php version to 7.4 and fix templates

This commit is contained in:
envoyr
2022-02-18 18:50:45 +01:00
parent e1b09e49fd
commit 36dbb3bdcc
24 changed files with 91 additions and 90 deletions

View File

@@ -36,8 +36,8 @@ if (! extension_loaded('zip')) {
));
}
// 0.10.x requires 7.0 at least
if (version_compare("7.0.0", PHP_VERSION, ">=")) {
// 0.11.x requires 7.4 at least
if (version_compare("7.4.0", PHP_VERSION, ">=")) {
\Froxlor\UI\Response::redirectTo($filename, array(
's' => $s,
'page' => 'error',