diff --git a/lam/lib/fpdf.php b/lam/lib/fpdf.php index 308406ba..6b9a4931 100644 --- a/lam/lib/fpdf.php +++ b/lam/lib/fpdf.php @@ -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() diff --git a/lam/templates/3rdParty/pla/lib/emuhash_functions.php b/lam/templates/3rdParty/pla/lib/emuhash_functions.php index 7818f7fb..6a5b1911 100644 --- a/lam/templates/3rdParty/pla/lib/emuhash_functions.php +++ b/lam/templates/3rdParty/pla/lib/emuhash_functions.php @@ -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; }