forked from ZwiiCMS-Team/ZwiiCMS
bloque PHP 8.2
This commit is contained in:
parent
65f5dd7c60
commit
e486c9344a
@ -25,8 +25,12 @@ session_start();
|
|||||||
/**
|
/**
|
||||||
* Vérification de la version de PHP
|
* Vérification de la version de PHP
|
||||||
*/
|
*/
|
||||||
if(version_compare(PHP_VERSION, '7.2.0', '<')) {
|
if(version_compare(PHP_VERSION, '7.2.0', '<') ) {
|
||||||
exit('PHP 7.2+ required.');
|
exit('PHP 7.2+ mini required');
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( version_compare(PHP_VERSION, '8.1.999', '>') ) {
|
||||||
|
exit('PHP 8.2 not yet supported, install PHP 7.n or PHP 8.1.n');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user