diff --git a/bbs/alert.php b/bbs/alert.php
index 956f75c0f..63b57c977 100644
--- a/bbs/alert.php
+++ b/bbs/alert.php
@@ -23,17 +23,21 @@ include_once($g4['path'].'/head.sub.php');
- 회원가입 정보 입력 확인
- 다음 항목을 입력하지 않으셨거나 입력에 오류가 있습니다.
+
+ =$header?>
+ 다음 항목에 오류가 있습니다.
+
+ =$msg?>
-돌아가기
+돌아가기
diff --git a/lib/common.lib.php b/lib/common.lib.php
index 18d9b8277..05a53c849 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -112,10 +112,15 @@ function get_cookie($cookie_name)
// 경고메세지를 경고창으로
function alert($msg='', $url='')
{
- global $g4;
+ global $g4, $config, $member;
+ global $is_admin;
if (!$msg) $msg = '올바른 방법으로 이용해 주십시오.';
+ $msg = str_replace("\\n", "
", $msg);
+ if (!$url) $url = "javascript:history.go(-1);";
+
+ /*
//header("Content-Type: text/html; charset=$g4['charset']");
echo "";
echo "