mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Issue 1222 change some comments and following new coding convension.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9979 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f218ee9320
commit
983516dbac
1 changed files with 63 additions and 57 deletions
22
index.php
22
index.php
|
|
@ -11,8 +11,8 @@
|
||||||
* @section intro introduction
|
* @section intro introduction
|
||||||
* XE is an opensource and being developed in the opensource project. \N
|
* XE is an opensource and being developed in the opensource project. \N
|
||||||
* For more information, please see the link below.
|
* For more information, please see the link below.
|
||||||
* - Official website: http://www.xpressengine.com
|
* - Official website: http://www.xpressengine.com(korean), http://www.xpressengine.org(english)
|
||||||
* - SVN Repository : http://svn.xpressengine.net/xe
|
* - SVN Repository: http://xe-core.googlecode.com/svn/
|
||||||
* \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
|
||||||
|
|
@ -33,13 +33,13 @@
|
||||||
/**
|
/**
|
||||||
* @brief Declare constants for generic use and for checking to avoid a direct call from the Web
|
* @brief Declare constants for generic use and for checking to avoid a direct call from the Web
|
||||||
**/
|
**/
|
||||||
define('__XE__', true);
|
define('__XE__', TRUE);
|
||||||
define('__ZBXE__', true); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
|
define('__ZBXE__', TRUE); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Include the necessary configuration files
|
* @brief Include the necessary configuration files
|
||||||
**/
|
**/
|
||||||
require('./config/config.inc.php');
|
require dirname(__FILE__) . '/config/config.inc.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize by creating Context object
|
* @brief Initialize by creating Context object
|
||||||
|
|
@ -51,12 +51,18 @@
|
||||||
/**
|
/**
|
||||||
* @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
|
* @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()) {
|
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();
|
||||||
?>
|
|
||||||
|
/* End of file index.php */
|
||||||
|
/* Location: ./index.php */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue