mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 10:55:59 +00:00
Removed duplicate extension checks
This commit is contained in:
24
upgrade.php
24
upgrade.php
@ -129,30 +129,6 @@ if ($ext_missing!='') {
|
||||
|
||||
}
|
||||
|
||||
$ext_check = '';
|
||||
if ((!extension_loaded('gd')) || (!extension_loaded('imagick'))) {
|
||||
$ext_check .= "PHP extension MISSING: gd or imagick \n";
|
||||
}
|
||||
|
||||
if (!extension_loaded('php-ldap')) {
|
||||
$ext_check .= "PHP extension MISSING: php-ldap \n";
|
||||
}
|
||||
|
||||
if (!extension_loaded('php-json')) {
|
||||
$ext_check .= "PHP extension MISSING: php-json \n";
|
||||
}
|
||||
|
||||
if (!extension_loaded('php-fileinfo')) {
|
||||
$ext_check .= "PHP extension MISSING: php-fileinfo \n";
|
||||
}
|
||||
|
||||
if (!extension_loaded('php-openssl')) {
|
||||
$ext_check .= "PHP extension MISSING: php-openssl \n";
|
||||
}
|
||||
|
||||
if ($ext_check!='') {
|
||||
echo $ext_check;
|
||||
}
|
||||
|
||||
echo "--------------------------------------------------------\n";
|
||||
echo "STEP 2: Backing up database: \n";
|
||||
|
||||
Reference in New Issue
Block a user