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

This commit is contained in:
zero 2007-02-06 15:11:13 +00:00
parent 2569c554ce
commit c040d4d713
317 changed files with 14496 additions and 0 deletions

23
index.php Normal file
View 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);
?>