mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Updated PHP requirement
This commit is contained in:
parent
d76eea53c4
commit
89d9b830a0
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
|
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
|
||||||
|
|
||||||
$required_version = '7.1.3';
|
$required_version = '7.2.0';
|
||||||
|
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
||||||
echo "Skipping user check as it is not supported on Windows\n";
|
echo "Skipping user check as it is not supported on Windows\n";
|
||||||
|
|
Loading…
Reference in a new issue