From 58941cbbe179f0536b1dfa3278ff188f4fe1814f Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 4 Jun 2009 07:35:20 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B0=80=EC=83=81=EC=82=AC=EC=9D=B4=ED=8A=B8?= =?UTF-8?q?=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=EC=8B=9C=EC=97=90=20?= =?UTF-8?q?=EB=8F=84=EB=A9=94=EC=9D=B8=EA=B3=BC=20vid=EA=B0=92=EC=9D=84=20?= =?UTF-8?q?=EC=A0=9C=EB=8C=80=EB=A1=9C=20=ED=8C=90=EB=B3=84=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=EC=A4=91=EB=B3=B5=EB=90=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6476 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/module/module.controller.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/module/module.controller.php b/modules/module/module.controller.php index 08d4f9169..96a226553 100644 --- a/modules/module/module.controller.php +++ b/modules/module/module.controller.php @@ -132,6 +132,13 @@ * @brief virtual site 수정 **/ function updateSite($args) { + $oModuleModel = &getModel('module'); + $site_info = $oModuleModel->getSiteInfo($args->site_srl); + if($site_info->domain != $args->domain) { + $info = $oModuleModel->getSiteInfoByDomain($args->domain); + if($info->site_srl && $info->site_srl != $args->site_srl) return new Object(-1,'msg_already_registed_domain'); + if(isSiteID($args->domain) && $oModuleModel->isIDExists($args->domain)) return new Object(-1,'msg_already_registed_vid'); + } $output = executeQuery('module.updateSite', $args); return $output; }