From 99b18d4d8d0b35ebcda9e55864a8b2fd0af6fc7e Mon Sep 17 00:00:00 2001 From: vendethiel Date: Wed, 25 Jul 2018 21:55:15 +0200 Subject: [PATCH] fix get_magic_quotes_gpc --- fixes.txt | 1 + luckymod/_install/install.php | 2 +- luckymod/common.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 fixes.txt diff --git a/fixes.txt b/fixes.txt new file mode 100644 index 0000000..a237876 --- /dev/null +++ b/fixes.txt @@ -0,0 +1 @@ +- Fix get_magic_quotes_gpc diff --git a/luckymod/_install/install.php b/luckymod/_install/install.php index 944c650..00f28a1 100644 --- a/luckymod/_install/install.php +++ b/luckymod/_install/install.php @@ -243,7 +243,7 @@ function guess_lang() } // Slash data if it isn't slashed -if (!get_magic_quotes_gpc()) +if (true) // !get_magic_quotes_gpc()) { if (is_array($HTTP_GET_VARS)) { diff --git a/luckymod/common.php b/luckymod/common.php index ba5634c..5b7fb01 100644 --- a/luckymod/common.php +++ b/luckymod/common.php @@ -94,7 +94,7 @@ // this is a security precaution to prevent someone // trying to break out of a SQL statement. // -if( !get_magic_quotes_gpc() ) +if( true ) //!get_magic_quotes_gpc() ) { if( is_array($HTTP_GET_VARS) ) {