mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@862 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9c582a571e
commit
6bb189a34b
48 changed files with 705 additions and 720 deletions
|
|
@ -65,16 +65,12 @@
|
|||
* 메세지를 출력하고 그냥 종료 시켜 버림
|
||||
**/
|
||||
function dispMessage($error, $message) {
|
||||
// 헤더 출력
|
||||
header("Content-Type: text/xml; charset=UTF-8");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
print '<?xml version="1.0" encoding="utf-8" ?>'."\n";
|
||||
print "<response>\n<error>{$error}</error><message>{$message}</message></response>";
|
||||
exit();
|
||||
// 결과 출력을 XMLRPC로 강제 지정
|
||||
Context::setResponseMethod("XMLRPC");
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('error');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue