compatibility changes for php7.4

This commit is contained in:
shreesh arora
2021-04-28 21:00:13 +05:30
parent 86d6e1bbb6
commit 4130bdfbe8
6 changed files with 19 additions and 77 deletions

View File

@@ -180,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()