From 192efe981e53e4d46384134bcc34651d39301fad Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 18 Mar 2013 11:53:26 +0900 Subject: [PATCH 1/2] =?UTF-8?q?noscript=20=EC=9D=BC=20=EA=B2=BD=EC=9A=B0?= =?UTF-8?q?=20=EB=8B=A8=EC=B6=95=ED=82=A4=20=EC=9D=BC=EB=9E=8C=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/ckeditor/ckeditor.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/ckeditor/ckeditor.lib.php b/bbs/ckeditor/ckeditor.lib.php index ec55bfb21..2d96f1f7e 100644 --- a/bbs/ckeditor/ckeditor.lib.php +++ b/bbs/ckeditor/ckeditor.lib.php @@ -8,7 +8,7 @@ function editor_html($id, $content, $ckeditor=true, $class="") $html = ""; $html .= "웹에디터 시작"; - $html .= "
"; + $html .= ''; if ($js) { $html .= "\n".''; From 92e4b0aa9edcb008d0925f5a634bd3a5ef74dc8c Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 18 Mar 2013 11:53:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EA=B2=BD=EB=A1=9C=EB=AC=B8=EC=A0=9C?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.php b/common.php index 720dda438..d380accc4 100644 --- a/common.php +++ b/common.php @@ -71,7 +71,8 @@ function g4_path() { $path = dirname(__FILE__); // 예) /home/sir/www/g4s $linux_dir = str_replace("\\", "/", $path); // 예) /home/sir/www/g4s - $document_root = str_replace("\\", "/", $_SERVER['DOCUMENT_ROOT']); // 예) /home/sir/www + //$document_root = str_replace("\\", "/", $_SERVER['DOCUMENT_ROOT']); // 예) /home/sir/www + $document_root = str_replace("\\", "/", realpath($_SERVER['DOCUMENT_ROOT'])); $base_dir = preg_replace('#^'.$document_root.'#i', '', $linux_dir); // 예) /g4s $port = $_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : ''; $http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 's' : '') . '://';