git-svn-id: http://xe-core.googlecode.com/svn/trunk@133 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-20 12:36:56 +00:00
parent 668b47e3d9
commit a69158ca8b
2 changed files with 2 additions and 31 deletions

View file

@ -1,31 +0,0 @@
<?php
/**
* @file trackback.php
* @author zero (zero@nzeo.com)
* @brief 트랙백을 받기 위한 파일. 파일이름때문에.. index.php와 거의 동일하나 act를 procReceiveTrackback로 고정
**/
/**
* @brief 필요한 설정 파일들을 include
**/
require_once("./config/config.inc.php");
/**
* @brief Request Method와 설정값들을 세팅
**/
$oContext = &Context::getInstance();
$oContext->init();
/**
* @brief act값을 procReceiveTrackback로 강제 설정
*
* 모듈마다 procReceiveTrackback가 필수적으로 있어야
**/
Context::set('act', 'procReceiveTrackback');
/**
* @brief ModuleHandler 호출하여 content 출력
**/
$oModuleHandler = new ModuleHandler();
$oModule = $oModuleHandler->proc();
?>

2
trackback/.htaccess Normal file
View file

@ -0,0 +1,2 @@
RewriteEngine on
RewriteRule ^([0-9]*)$ ../index.php?document_srl=$1&act=procReceiveTrackback