This commit is contained in:
Roland Gruber 2015-10-26 19:47:25 +00:00
parent 93a87c8f6f
commit 8a6ba88689
2 changed files with 0 additions and 11 deletions

View File

@ -1050,9 +1050,6 @@ function _dochecks()
// Check mbstring overloading
if(ini_get('mbstring.func_overload') & 2)
$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()

View File

@ -58,11 +58,6 @@ if (! function_exists('mhash') && ! function_exists('mhash_keygen_s2k')) {
function openssl_hash($openssl_hash_id,$password_clear) {
global $emuhash_emu;
if (PHP_VERSION < 6) {
$current_magic_quotes = @get_magic_quotes_runtime();
@set_magic_quotes_runtime(0);
}
$tmpfile = tempnam($emuhash_emu['tmpdir'],'emuhash');
$pwhandle = fopen($tmpfile,'w');
@ -77,9 +72,6 @@ if (! function_exists('mhash') && ! function_exists('mhash_keygen_s2k')) {
pclose($prog);
unlink($tmpfile);
if (PHP_VERSION < 6)
@set_magic_quotes_runtime($current_magic_quotes);
return $pass;
}