1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Fix parziali PHP 8.1

This commit is contained in:
Luca
2022-02-04 19:52:09 +01:00
parent d3b42eacfc
commit a66ef457b8
4 changed files with 7 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ header_remove('X-Powered-By');
date_default_timezone_set('Europe/Rome');
// Controllo sulla versione PHP
$minimum = '5.6.0';
$minimum = '7.1.0';
if (version_compare(phpversion(), $minimum) < 0) {
echo '
<p>Stai utilizzando la versione PHP '.phpversion().', non compatibile con OpenSTAManager.</p>