Source for file database.php
Documentation is available at database.php
* @package Joomla.Installation
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Controller class to initialise the database for the Joomla Installer.
* @package Joomla.Installation
* Execute the controller.
/* @var InstallationApplicationWeb $app */
// Check for request forgeries.
$vars =
$model->checkForm('database');
// Determine if the configuration file path is writable.
$r->view =
$useftp ?
'ftp' :
'summary';
// Get the database model.
// Attempt to initialise the database.
$return =
$db->createDatabase($vars);
// Check if the database was initialised
$app->sendJsonResponse($r);
Documentation generated on Tue, 19 Nov 2013 14:57:46 +0100 by phpDocumentor 1.4.3