주제와 상관없이 자유롭게 글을 남길 수 있는 곳입니다.
  • 웹미니 한줄 전광판 영역 입니다.

세발자전거

2010.01.28 14:18

<?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();
?>

파일 첨부

여기에 파일을 끌어 놓거나 파일 첨부 버튼을 클릭하세요.

파일 크기 제한 : 0MB (허용 확장자 : *.*)

0개 첨부 됨 ( / )
글쓴이 비밀번호