Removed magic quotes as it was deprecated in PHP 7.4

This commit is contained in:
FusionPBX 2023-10-02 12:47:12 -06:00 committed by GitHub
parent 3d2b12b88e
commit f6a3881308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -1051,9 +1051,6 @@ function _dochecks()
// Check mbstring overloading // Check mbstring overloading
if(ini_get('mbstring.func_overload') & 2) if(ini_get('mbstring.func_overload') & 2)
$this->Error('mbstring overloading must be disabled'); $this->Error('mbstring overloading must be disabled');
// Ensure runtime magic quotes are disabled
if(get_magic_quotes_runtime())
@set_magic_quotes_runtime(0);
} }
function _checkoutput() function _checkoutput()