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

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

31
rss.php
View file

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

2
rss/.htaccess Normal file
View file

@ -0,0 +1,2 @@
RewriteEngine on
RewriteRule ^([a-zA-Z0-9\_\-]*)$ ../index.php?mid=$1&act=dispRss