test for svn property

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8254 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-04-01 07:04:51 +00:00
parent 620b03d184
commit 338c487377

122
index.php
View file

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