sns 댓글 url 전달되지 않는 오류 수정

This commit is contained in:
chicpro
2014-05-26 10:34:43 +09:00
parent 278c8ac541
commit aa2beb7027
3 changed files with 7 additions and 5 deletions

View File

@ -53,6 +53,8 @@ if ($_POST['twitter_checked']) {
include_once(G5_SNS_PATH."/twitter/twitterconfig.php");
if ( !(empty($_SESSION['access_token']) || empty($_SESSION['access_token']['oauth_token']) || empty($_SESSION['access_token']['oauth_token_secret'])) ) {
$comment_url = G5_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr['wr_parent'].'&#c_'.$comment_id;
$post = googl_short_url($comment_url).' '.$wr_content;
$post = utf8_strcut($post, 140);