today:
1,568
yesterday:
1,768
Total:
1,115,567

php - index

admin 2018.02.25 19:59 Views : 2570

<?php
/* Copyright (C) NAVER <http://www.navercorp.com> */
/**
 * @file  index.php
 * @author NAVER (developers@xpressengine.com)
 * @brief Start page
 *
 * @mainpage XpressEngine
 * @section intro introduction
 *
 * "XpressEngine (XE)" is an opensource and being developed in the opensource project.\n
 * For more information, please see the link below.
 * - Official website: http://www.xpressengine.com
 * - Offcial Repository: https://github.com/xpressengine/xe-core
 * \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 software 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 Declare constants for generic use and for checking to avoid a direct call from the Web
 **/
define('__XE__',   TRUE);
/**
 * @brief Include the necessary configuration files
 **/
require dirname(__FILE__) . '/config/config.inc.php';

/**
 * @brief Initialize by creating Context object
 * Set all Request Argument/Environment variables
 **/
$oContext = Context::getInstance();
$oContext->init();

/**
 * @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
 **/
if($oContext->checkSSO())
{
$oModuleHandler = new ModuleHandler();

try
{
if($oModuleHandler->init())
{
$oModuleHandler->displayContent($oModuleHandler->procModule());
}
}
catch(Exception $e)
{
htmlHeader();
echo Context::getLang($e->getMessage());
htmlFooter();
}
}

$oContext->close();

/* End of file index.php */
/* Location: ./index.php */

No. Subject Author Date Views
25 CODE admin 2019.09.05 265
24 ttt admin 2019.02.11 295
23 BigCommerce admin 2019.02.06 292
22 WHDR admin 2019.01.29 324
21 jp admin 2019.01.22 301
20 50.87.144.161 admin 2019.01.18 336
19 OUR PLEDGE admin 2019.01.17 292
18 DONATE BY SHOPPING ON AMAZON admin 2019.01.17 373
17 Life's Abundance admin 2019.01.17 381
16 Ralph's donates admin 2019.01.17 308
15 SUB - PIC CHANGE admin 2018.03.10 294
14 Content Management Systems (CMS) admin 2018.03.08 445
» php - index admin 2018.02.25 2570
12 php- config admin 2018.02.25 3469
11 UPS admin 2018.01.21 308
10 UPS admin 2018.01.20 329
9 JavaScript Fundamentals For Beginners admin 2018.01.09 297
8 Server secret admin 2017.12.26 0
7 App ID admin 2017.08.13 351
6 Mobile Data Collection Apps (Sample) admin 2017.07.31 777