0
조회 수 : 1192 신고 : 0
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상
댓글 '2'
<?php
/**
* @file index.php
* @author zero <zero@zeroboard.com>
* @brief 시작 페이지
*
* Request Argument에서 mid, act로 module 객체를 찾아서 생성하고 n
* 모듈 정보를 세팅함
*
* @mainpage XpressEngine
* @section intro 소개
* XE 는 오픈 프로젝트로 개발되는 오픈 소스입니다.n
* 자세한 내용은 아래 링크를 참조하세요.
* - 공식홈페이지 : http://www.xpressengine.com
* - SVN Repository : http://svn.xpressengine.net/xe
* n
* "XpressEngine (XE)" is free software; you can redistribute it and/or n
* modify it under the terms of the GNU Lesser General Public n
* License as published by the Free Software Foundation; either n
* version 2.1 of the License, or (at your option) any later version. n
* n
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* n
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
**/
/**
* @brief 기본적인 상수 선언, 웹에서 직접 호출되는 것을 막기 위해 체크하는 상수 선언
**/
define('__ZBXE__', true);
/**
* @brief 필요한 설정 파일들을 include
**/
require('./config/config.inc.php');
/**
* @brief Context 객체를 생성하여 초기화
* 모든 Request Argument/ 환경변수등을 세팅
**/
$oContext = &Context::getInstance();
$oContext->init();
/**
* @brief default_url 이 설정되어 있고 현재 url이 default_url과 다르면 SSO인증을 위한 rediret 시도 후 모듈 동작
**/
if($oContext->checkSSO()) {
$oModuleHandler = new ModuleHandler();
if($oModuleHandler->init()) {
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
}
}
$oContext->close();
?>