mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Update minimum PHP requirements to 7.2.5
This commit is contained in:
parent
1e062d4fc8
commit
bf7a856fa6
|
@ -279,7 +279,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'min_php' => '7.1.3',
|
||||
'min_php' => '7.2.5',
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
|
||||
|
||||
$required_version = '7.2.0';
|
||||
$required_version = '7.2.5';
|
||||
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue