سلام
دوستان یا اساطیر محترم من بطو اتفاقی سورس دیتالایف رو برسی می کردم که متوجه نبود فایل wordfilter.db.php در بوشه data شدم دوستان کسی هست در این مورد نظری داشه باشد؟
در این مسیر engine/inc/wordfilter.php
و کد زیر :
$word_replace = stripslashes( $parse->BB_Parse( $parse->process( $_POST['word_replace'] ), false ) ); $word_id = time(); $all_items = file( ENGINE_DIR . '/data/wordfilter.db.php' ); foreach ( $all_items as $item_line ) { $item_arr = explode( "|", $item_line ); if( $item_arr[0] == $word_id ) { $word_id ++; } } foreach ( $all_items as $word_line ) { $word_arr = explode( "|", $word_line ); if( $word_arr[1] == $word_find ) { msg( "error", $lang['word_error'], $lang['word_ar'], "?mod=wordfilter" ); } } $new_words = fopen( ENGINE_DIR . '/data/wordfilter.db.php', "a" ); $word_find = str_replace( "|", "|", $word_find ); $word_replace = str_replace( "|", "|", $word_replace ); $word_find = str_replace( "$", "$", $word_find ); $word_find = str_replace( "{", "{", $word_find ); $word_find = str_replace( "}", "}", $word_find ); $word_find = str_replace( "<", "<", $word_find ); $word_find = str_replace( ">", ">", $word_find ); $word_replace = str_replace( "$", "$", $word_replace ); $word_replace = str_replace( "{", "{", $word_replace ); $word_replace = str_replace( "}", "}", $word_replace ); $db->query( "INSERT INTO " . USERPREFIX . "_admin_logs (name, date, ip, action, extras) values ('".$db->safesql($member_id['name'])."', '{$_TIME}', '{$_IP}', '79', '".htmlspecialchars($word_find, ENT_QUOTES, $config['charset'])."')" ); fwrite( $new_words, "$word_id|$word_find|$word_replace|" . intval( $_POST['type'] ) . "|". intval( $_POST['register'] ) ."|". intval( $_POST['filter_search'] ) ."|". intval( $_POST['filter_action'] ) ."||\n" ); fclose( $new_words );