공통 URL 공백제거 및 다음 쇼핑하우 출력 charset euc-kr 로 변경

This commit is contained in:
SIR
2014-02-14 12:02:12 +09:00
parent 32f0f819dd
commit 73e428459e
3 changed files with 16 additions and 3 deletions

View File

@ -629,8 +629,7 @@ if(!isset($default['de_shop_layout_use'])) {
<th scope="row">공통 URL</th> <th scope="row">공통 URL</th>
<td> <td>
<?php echo help("가상계좌 사용시 다음 주소를 <strong>KCP 관리자 > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?> <?php echo help("가상계좌 사용시 다음 주소를 <strong>KCP 관리자 > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?>
<?php echo G5_SHOP_URL; ?>/settle_kcp_common.php <?php echo G5_SHOP_URL; ?>/settle_kcp_common.php</td>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -1,7 +1,10 @@
<?php <?php
include_once('./_common.php'); include_once('./_common.php');
ob_start(); ob_start();
header("Content-Type: text/html; charset=utf-8"); header("Content-Type: text/html; charset=utf-8");
/* /*
@ -141,9 +144,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
HEREDOC; HEREDOC;
} }
$content = ob_get_contents(); $content = ob_get_contents();
ob_end_clean(); ob_end_clean();
$content = iconv('utf-8', 'euc-kr', $content); $content = iconv('utf-8', 'euc-kr', $content);
echo $content; echo $content;
?> ?>

View File

@ -1,6 +1,8 @@
<?php <?php
include_once('./_common.php'); include_once('./_common.php');
ob_start();
header("Content-Type: text/html; charset=utf-8"); header("Content-Type: text/html; charset=utf-8");
/* /*
@ -201,4 +203,12 @@ HEREDOC;
} }
} }
} }
$content = ob_get_contents();
ob_end_clean();
// 131227 : 쇼핑하우에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?> ?>