Source for file detectftproot.php
Documentation is available at detectftproot.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 detect the site's FTP root for the Joomla Installer.
* @package Joomla.Installation
* Execute the controller.
/* @var InstallationApplicationWeb $app */
// Check for request forgeries.
$data =
$app->input->post->get('jform', array(), 'array');
// Store the options in the session.
$vars =
$model->storeOptions($data);
// Get the database model.
// Attempt to detect the Joomla root from the ftp account.
$return =
$ftp->detectFtpRoot($vars);
// Build the response object
// If we got a FTP root, add it to the response object
$app->sendJsonResponse($r);
Documentation generated on Tue, 19 Nov 2013 15:01:28 +0100 by phpDocumentor 1.4.3