__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * Part of the Joomla Framework Application Package
 *
 * @copyright  Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\Application;

use Joomla\Application\Controller\ControllerResolverInterface;
use Joomla\Input\Input;
use Joomla\Registry\Registry;
use Joomla\Router\RouterInterface;
use Psr\Http\Message\ResponseInterface;

/**
 * A basic web application class for handing HTTP requests.
 *
 * @since  2.0.0
 */
class WebApplication extends AbstractWebApplication implements SessionAwareWebApplicationInterface
{
	use SessionAwareWebApplicationTrait;

	/**
	 * The application's controller resolver.
	 *
	 * @var    ControllerResolverInterface
	 * @since  2.0.0
	 */
	protected $controllerResolver;

	/**
	 * The application's router.
	 *
	 * @var    RouterInterface
	 * @since  2.0.0
	 */
	protected $router;

	/**
	 * Class constructor.
	 *
	 * @param   ControllerResolverInterface  $controllerResolver  The application's controller resolver
	 * @param   RouterInterface              $router              The application's router
	 * @param   Input                        $input               An optional argument to provide dependency injection for the application's
	 *                                                            input object.  If the argument is an Input object that object will become
	 *                                                            the application's input object, otherwise a default input object is
	 *                                                            created.
	 * @param   Registry                     $config              An optional argument to provide dependency injection for the application's
	 *                                                            config object.  If the argument is a Registry object that object will
	 *                                                            become the application's config object, otherwise a default config object
	 *                                                            is created.
	 * @param   Web\WebClient                $client              An optional argument to provide dependency injection for the application's
	 *                                                            client object.  If the argument is a Web\WebClient object that object will
	 *                                                            become the application's client object, otherwise a default client object
	 *                                                            is created.
	 * @param   ResponseInterface            $response            An optional argument to provide dependency injection for the application's
	 *                                                            response object.  If the argument is a ResponseInterface object that object
	 *                                                            will become the application's response object, otherwise a default response
	 *                                                            object is created.
	 *
	 * @since   2.0.0
	 */
	public function __construct(
		ControllerResolverInterface $controllerResolver,
		RouterInterface $router,
		Input $input = null,
		Registry $config = null,
		Web\WebClient $client = null,
		ResponseInterface $response = null
	)
	{
		$this->controllerResolver = $controllerResolver;
		$this->router             = $router;

		// Call the constructor as late as possible (it runs `initialise`).
		parent::__construct($input, $config, $client, $response);
	}

	/**
	 * Method to run the application routines.
	 *
	 * @return  void
	 *
	 * @since   2.0.0
	 */
	protected function doExecute(): void
	{
		$route = $this->router->parseRoute($this->get('uri.route'), $this->input->getMethod());

		// Add variables to the input if not already set
		foreach ($route->getRouteVariables() as $key => $value)
		{
			$this->input->def($key, $value);
		}

		\call_user_func($this->controllerResolver->resolve($route));
	}
}

Filemanager

Name Type Size Permission Actions
Controller Folder 0775
Event Folder 0775
Exception Folder 0775
Web Folder 0775
AbstractApplication.php File 4.86 KB 0664
AbstractWebApplication.php File 28.73 KB 0664
ApplicationEvents.php File 1.4 KB 0664
ApplicationInterface.php File 681 B 0664
ConfigurationAwareApplicationInterface.php File 1.41 KB 0664
SessionAwareWebApplicationInterface.php File 1.38 KB 0664
SessionAwareWebApplicationTrait.php File 2.3 KB 0664
WebApplication.php File 3.96 KB 0664
WebApplicationInterface.php File 4.1 KB 0664
Filemanager