1
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 installer some error, get_magic_quotes_gpc() returns undefined
  • 2021/12/3 14:18

  • cadch

  • Just popping in

  • Posts: 55

  • Since: 2007/12/17


FILE:
Quote:
\htdocs\class\module.textsanitizer.php
LINE:523
if (!@get_magic_quotes_gpc()) {
            
$text = addslashes($text);
        }
chang to
$text = addslashes($text);


LINE:797
if (@get_magic_quotes_gpc()) {
            
$text = stripslashes($text);
        }
DEL THE CODE
Because some installer used function addSlashes,On PHP 8.0.13 installer Can not continue.