Merge branch 'develop' into qlo-remove-mysql2

This commit is contained in:
Shreesh Arora
2021-10-19 12:15:25 +05:30
committed by GitHub
1459 changed files with 125284 additions and 69810 deletions

View File

@@ -31,7 +31,7 @@ class ConfigurationTestCore
'/classes/log/index.php',
'/classes/cache/index.php',
'/config/index.php',
'/tools/tar/Archive_Tar.php',
'/tools/tar/Tar.php',
'/tools/pear/PEAR.php',
'/controllers/admin/AdminLoginController.php',
'/css/index.php',
@@ -94,6 +94,7 @@ class ConfigurationTestCore
'upload_max_filesize' => false,
'max_execution_time' => false,
'fopen' => false,
'zip' => false,
));
}
@@ -179,7 +180,7 @@ class ConfigurationTestCore
public static function test_magicquotes()
{
return !get_magic_quotes_gpc();
return function_exists('get_magic_quotes_gpc') ? !get_magic_quotes_gpc() : true;
}
public static function test_upload()
@@ -214,6 +215,12 @@ class ConfigurationTestCore
return false;
}
public static function test_zip()
{
return extension_loaded('zip');
}
public static function test_fopen()
{
return ini_get('allow_url_fopen');