CoreFiles by mySites.guru
modules.php27 lines, 779 bytes, from Joomla_3.6.3-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.6.1-rc2
md5
362f5950e1363e93501b4a30edbcd8b6
sha1
52e8296dafdf37b3c2a5f6e009fb47c67788b8f2
sha256
4e51748ccc126f180bd097c8344a18ea6b9b8733dd70df6de3e2d1418ae5887e
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_modules
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Load the required admin language files
$lang   = JFactory::getLanguage();
$app    = JFactory::getApplication();
$config = array();
$lang->load('joomla', JPATH_ADMINISTRATOR);
$lang->load('com_modules', JPATH_ADMINISTRATOR);

if ($app->input->get('task') === 'module.orderPosition')
{
	$config['base_path'] = JPATH_COMPONENT_ADMINISTRATOR;
}

// Trigger the controller
$controller = JControllerLegacy::getInstance('Modules', $config);
$controller->execute($app->input->get('task'));
$controller->redirect();

The same content is in 3 releases, Joomla 3.6.3-rc1 to 3.6.3-rc3. See them all, or every version of this file.