mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Update upgrade.php with newer requires
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
df0b240a05
commit
686e58806f
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
|
||||
|
||||
$required_version = '7.2.5';
|
||||
$required_version = '7.4.0';
|
||||
|
||||
if ((strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') || (!function_exists('posix_getpwuid'))) {
|
||||
echo "Skipping user check as it is not supported on Windows or Posix is not installed on this server. \n";
|
||||
|
@ -64,6 +64,7 @@ $required_exts_array =
|
|||
'mysqli|pgsql',
|
||||
'openssl',
|
||||
'PDO',
|
||||
'sodium',
|
||||
'tokenizer',
|
||||
'xml',
|
||||
'zip',
|
||||
|
|
Loading…
Reference in a new issue