CoreFiles by mySites.guru
summary.php46 lines, 1,052 bytes, from Joomla_3.10.0-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.0-rc1
md5
441c43f0a13408102b62566710a58a4f
sha1
2b63d7c140fa34e30729e9387616a10c59be0f90
sha256
87f21b6244a3c3c534faed7d2ee7c9a0c8a8c28891c68a9a2e88046e91c88977
<?php
/**
 * @package     Joomla.Installation
 * @subpackage  Controller
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Controller class to prepare installation for the Joomla Installer.
 *
 * @since  3.1
 */
class InstallationControllerSummary extends JControllerBase
{
	/**
	 * Execute the controller.
	 *
	 * @return  void
	 *
	 * @since   3.1
	 */
	public function execute()
	{
		// Get the application
		/** @var InstallationApplicationWeb $app */
		$app = $this->getApplication();

		// Check for request forgeries.
		JSession::checkToken() or $app->sendJsonResponse(new Exception(JText::_('JINVALID_TOKEN_NOTICE'), 403));

		// Get the setup model.
		$model = new InstallationModelSetup;

		// Check the form
		$model->checkForm('summary');

		// Redirect to the page.
		$r = new stdClass;
		$r->view = 'install';
		$app->sendJsonResponse($r);
	}
}

The same content is in 8 releases, Joomla 3.10.0-alpha4 to 3.10.0-rc2. See them all, or every version of this file.