trackback 트랙백 기능 제거
This commit is contained in:
@ -11,8 +11,6 @@ if (substr_count($wr_content, '&#') > 50) {
|
||||
|
||||
@include_once($board_skin_path.'/write_update.head.skin.php');
|
||||
|
||||
include_once($g4['path'].'/lib/trackback.lib.php');
|
||||
|
||||
$upload_max_filesize = ini_get('upload_max_filesize');
|
||||
|
||||
if (empty($_POST))
|
||||
@ -291,7 +289,6 @@ if ($w == '' || $w == 'r')
|
||||
wr_link2 = '{$wr_link2}',
|
||||
wr_link1_hit = 0,
|
||||
wr_link2_hit = 0,
|
||||
wr_trackback = '{$wr_trackback}',
|
||||
wr_hit = 0,
|
||||
wr_good = 0,
|
||||
wr_nogood = 0,
|
||||
@ -595,18 +592,6 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
||||
// 사용자 코드 실행
|
||||
@include_once ($board_skin_path.'/write_update.skin.php');
|
||||
|
||||
// 트랙백 주소가 있다면
|
||||
if (($w != 'u' && $wr_trackback) || ($w=='u' && $wr_trackback && $re_trackback))
|
||||
{
|
||||
$trackback_url = $g4['url'].'/'.$g4['bbs'].'/tb.php/'.$bo_table.'/'.$wr_id;
|
||||
$msg = "";
|
||||
$msg = send_trackback($wr_trackback, $trackback_url, $wr_subject, $board['bo_subject'], $_POST['wr_content']);
|
||||
if ($msg) {
|
||||
echo '<meta http-equiv="content-type" content="text/html; charset='.$g4['charset'].'">'.PHP_EOL;
|
||||
echo '<script>alert('.$msg.' '.$wr_trackback.');</script>';
|
||||
}
|
||||
}
|
||||
|
||||
@include_once($board_skin_path.'/write_update.tail.skin.php');
|
||||
if ($g4['https_url'])
|
||||
$https_url = $g4['url'].'/'.$g4['bbs'];
|
||||
|
||||
Reference in New Issue
Block a user