mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2569c554ce
commit
c040d4d713
317 changed files with 14496 additions and 0 deletions
23
index.php
Normal file
23
index.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* @file : index.php
|
||||
* @author : zero <zero@nzeo.com>
|
||||
* @desc : 모든 요청(request)의 관문으로 main() 역할을 함
|
||||
* Main class의 instance를 생성하여 constructor 실행하는 역할만 수행
|
||||
**/
|
||||
|
||||
// 필요한 설정 파일들을 include
|
||||
require_once("./config/config.inc.php");
|
||||
|
||||
// Request Method와 설정값들을 세팅
|
||||
$oContext = &Context::getInstance();
|
||||
$oContext->init();
|
||||
|
||||
// ModuleHandler 호출하여 content 출력
|
||||
$oModuleHandler = new ModuleHandler();
|
||||
$oModule = $oModuleHandler->proc();
|
||||
|
||||
// DisplayHandler로 컨텐츠 출력
|
||||
$oDisplayHandler = new DisplayHandler();
|
||||
$oDisplayHandler->printContent($oModule);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue