Файловый менеджер - Редактировать - /home/lmsyaran/public_html/pusher/hikamarketoverrides.zip
Назад
PK �$�[D~�2g g hikamarketoverrides.phpnu �[��� <?php /** * @package HikaMarket for Joomla! * @version 3.1.1 * @author Obsidev S.A.R.L. * @copyright (C) 2011-2020 OBSIDEV. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); jimport('joomla.plugin.plugin'); class plgSystemHikamarketoverrides extends JPlugin { public function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->init(); } private function init() { static $init = null; if($init !== null) return; $init = true; $hikashopHelper = rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'; $marketHelper = rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikamarket'.DS.'helpers'.DS.'helper.php'; if(!file_exists($hikashopHelper) || !file_exists($marketHelper)) return; $db = JFactory::getDBO(); $db->setQuery('SELECT config_value FROM #__hikashop_config WHERE config_namekey = ' . $db->Quote('version')); $version = $db->loadResult(); jimport('joomla.filesystem.folder'); $path = rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikamarket'.DS.'overrides'.DS.$version.DS; if(!JFolder::exists($path)) return; $allFiles = JFolder::files($path); if(empty($allFiles)) return; include_once $hikashopHelper; foreach($allFiles as $oneFile) { if(substr($oneFile, -4) != '.php') continue; if(substr($oneFile, 0, 6) == 'class.') { $originalFile = rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'classes'.DS.substr($oneFile, 6); if(file_exists($originalFile)) { include_once $originalFile; include_once $path . $oneFile; } } else { include_once $path . $oneFile; } } } } PK �$�[F��� � hikamarketoverrides.xmlnu �[��� <?xml version="1.0" encoding="utf-8"?> <extension version="2.5" type="plugin" method="upgrade" group="system"> <name>HikaMarket HikaShop overrides</name> <creationDate>20 juillet 2020</creationDate> <version>3.1.1</version> <author>Obsidev</author> <authorEmail>dev@obsidev.com</authorEmail> <authorUrl>http://www.obsidev.com</authorUrl> <copyright>Copyright (C) 2012-2020 OBSIDEV SARL - All rights reserved.</copyright> <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license> <description>HikaMarket HikaShop overrides</description> <files> <filename plugin="hikamarketoverrides">hikamarketoverrides.php</filename> </files> <params addpath="/components/com_hikamarket/params"> </params> </extension> PK �$�[�#o, , index.htmlnu �[��� <html><body bgcolor="#FFFFFF"></body></html>PK �$�[D~�2g g hikamarketoverrides.phpnu �[��� PK �$�[F��� � � hikamarketoverrides.xmlnu �[��� PK �$�[�#o, , � index.htmlnu �[��� PK � D
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.07 |
proxy
|
phpinfo
|
Настройка