CoreFiles by mySites.guru
summary.php46 lines, 1,006 bytes, from Joomla_3.10.0-Stable-Full_Package.zip
Raw History Compare with 3.9.28
md5
6963cf1520ebf92a616c54a107fa03c5
sha1
64a3de9f2627a84c433c00b7bad2014d4f3c5037
sha256
7e3927c98bbaf83289c0e2e1b62abcfb2ddcdd476788a69cfbc9e4f4f7b1fbbd
<?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 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.