================================================================================== [1] LKBTT-115J/web/lib/sys/CPreProc.class.php ---------------------------------------------------------------------------------- [Before] public static function reverseMagicQuote() { $func = "reverseMagicQuote_stripslashes_deep"; if ( !function_exists( $func ) && get_magic_quotes_gpc() ) { define( 'REVERSE_MAGIC_QUOTE', $func ); function reverseMagicQuote_stripslashes_deep( $value ) { $value = is_array( $value ) ? array_map( REVERSE_MAGIC_QUOTE, $value ) : stripslashes( $value ); return $value; } $_POST = array_map( $func, $_POST ); $_GET = array_map( $func, $_GET ); $_COOKIE = array_map( $func, $_COOKIE ); $_REQUEST = array_map( $func, $_REQUEST ); } } ---------------------------------------------------------------------------------- [After] public static function reverseMagicQuote(){ $ver_req="5.4"; $ver_cur=phpversion(); if(strnatcmp($ver_cur,$ver_req)>=0){ // equal or newer }else{ $func="reverseMagicQuote_stripslashes_deep"; if(!function_exists($func)&& function_exists("get_magic_quotes_gpc")&& get_magic_quotes_gpc()){ define('REVERSE_MAGIC_QUOTE',$func); function reverseMagicQuote_stripslashes_deep($value){ $value=is_array($value)? array_map(REVERSE_MAGIC_QUOTE,$value): stripslashes($value); return $value; } $_POST=array_map($func,$_POST); $_GET=array_map($func,$_GET); $_COOKIE=array_map($func,$_COOKIE); $_REQUEST=array_map($func,$_REQUEST); } } } ================================================================================== ================================================================================== [2] LKBTT-115J/web/codegen/mod/btpl/CMPage.class.php on line 74 ---------------------------------------------------------------------------------- [Before] CApp::set( "page-title", $this->item['title'] ); ---------------------------------------------------------------------------------- [After] // CApp::set( "page-title", $this->item['title'] ); ==================================================================================