mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1500 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7405e05602
commit
1841641f3b
5 changed files with 8 additions and 8 deletions
|
|
@ -156,7 +156,7 @@
|
|||
* tail -f ./files/_debug_message.php로 하여 console로 확인하면 편리함\n
|
||||
**/
|
||||
function _debugOutput() {
|
||||
if(!__DEBUG__) return;
|
||||
if(!__DEBUG__ || Context::getResponseMethod()!='HTML') return;
|
||||
$end = getMicroTime();
|
||||
|
||||
// debug string 작성 시작
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
* @brief RequestMethod에 맞춰 헤더 출력
|
||||
***/
|
||||
function _printHeader() {
|
||||
if(Context::getResponseMethod() == 'XMLRPC') return $this->_printXMLHeader();
|
||||
if(Context::getResponseMethod() != 'HTML') return $this->_printXMLHeader();
|
||||
else return $this->_printHTMLHeader();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* 0 : files/_debug_message.php 에 연결하여 출력
|
||||
* 1 : Response Method 가 XML 형식이 아닐 경우 브라우저에 최상단에 주석으로 표시
|
||||
**/
|
||||
define('__DEBUG_OUTPUT__', 0);
|
||||
define('__DEBUG_OUTPUT__', 1);
|
||||
|
||||
/**
|
||||
* @brief 디버깅 메세지 출력
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
* 2 : 1 + DB 쿼리
|
||||
* 3 : 모든 로그
|
||||
**/
|
||||
define('__DEBUG__', 0);
|
||||
define('__DEBUG__', 1);
|
||||
|
||||
/**
|
||||
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
||||
|
|
|
|||
|
|
@ -48,11 +48,11 @@
|
|||
|
||||
<div class="layout_logo">
|
||||
<!--@if($layout_info->logo_image)-->
|
||||
<a href="./?mid={$layout_info->mid}"><img src="{$layout_info->logo_image}" border="0" alt="{$layout_info->browser_title}"/></a>
|
||||
<a href="{getUrl('','mid',$layout_info->mid)}"><img src="{$layout_info->logo_image}" border="0" alt="{$layout_info->browser_title}"/></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($layout_info->top_title)-->
|
||||
<a href="./?mid={$layout_info->mid}">{$layout_info->top_title}</a>
|
||||
<a href="{getUrl('','mid',$layout_info->mid)}">{$layout_info->top_title}</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
function moduleInstall() {
|
||||
// action forward에 등록
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('rss', 'view', 'dispRss');
|
||||
$oModuleController->insertActionForward('rss', 'view', 'rss');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('trackback', 'controller', 'procTrackbackReceive');
|
||||
$oModuleController->insertActionForward('trackback', 'controller', 'trackback');
|
||||
$oModuleController->insertActionForward('trackback', 'view', 'dispTrackbackAdminList');
|
||||
|
||||
return new Object();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue