rhymix/index.php
2017-03-04 22:05:16 +09:00

58 lines
2 KiB
PHP

<?php
/**
* -----------------------------------------------------------------------------
*
* R H Y M I X : C O N T E N T M A N A G E M E N T S Y S T E M
*
* https://www.rhymix.org
*
* -----------------------------------------------------------------------------
*
* Copyright (c) Rhymix Developers and Contributors <devops@rhymix.org>
* Copyright (c) NAVER <http://www.navercorp.com>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 2 of the License, or (at your option)
* any later version.
*
* This program 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 General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* -----------------------------------------------------------------------------
*
* Rhymix is a derivative work of XpressEngine (XE) version 1.x.
* The license has been changed from LGPL v2.1 to GPL v2 in accordance with
* section 3 of LGPL v2.1. This change is irreversible and applies to all of
* Rhymix, including parts that were copied verbatim from XpressEngine.
*
* -----------------------------------------------------------------------------
*/
/**
* Include the autoloader.
*/
require dirname(__FILE__) . '/common/autoload.php';
/**
* @brief Initialize by creating Context object
* Set all Request Argument/Environment variables
**/
$oContext = Context::getInstance();
$oContext->init();
/**
* @brief Initialize and execute Module Handler
**/
$oModuleHandler = new ModuleHandler();
$oModuleHandler->init() && $oModuleHandler->displayContent($oModuleHandler->procModule());
Context::close();
/* End of file index.php */
/* Location: ./index.php */