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) ) {