File manager - Edit - /home/ferretapmx/public_html/folderinstaller.tar
Back
folderinstaller.xml 0000644 00000001641 15231065046 0010463 0 ustar 00 <?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="installer"> <name>plg_installer_folderinstaller</name> <author>Joomla! Project</author> <creationDate>2016-05</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.6.0</version> <description>PLG_INSTALLER_FOLDERINSTALLER_PLUGIN_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Installer\Folder</namespace> <files> <folder plugin="folderinstaller">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_installer_folderinstaller.ini</language> <language tag="en-GB">language/en-GB/plg_installer_folderinstaller.sys.ini</language> </languages> </extension> src/Extension/FolderInstaller.php 0000644 00000003646 15231065046 0013124 0 ustar 00 <?php /** * @package Joomla.Plugin * @subpackage Installer.folderinstaller * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Installer\Folder\Extension; use Joomla\CMS\Event\Installer\AddInstallationTabEvent; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\CMS\Plugin\PluginHelper; use Joomla\Event\SubscriberInterface; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * FolderInstaller Plugin. * * @since 3.6.0 */ final class FolderInstaller extends CMSPlugin implements SubscriberInterface { /** * Application object. * * @var \Joomla\CMS\Application\CMSApplication * @since 4.0.0 * @deprecated 6.0 Is needed for template overrides, use getApplication instead */ protected $app; /** * Returns an array of events this subscriber will listen to. * * @return array * * @since 5.0.0 */ public static function getSubscribedEvents(): array { return ['onInstallerAddInstallationTab' => 'onInstallerAddInstallationTab']; } /** * Installer add Installation Tab listener. * * @param AddInstallationTabEvent $event The event instance * * @return void * * @since 3.6.0 */ public function onInstallerAddInstallationTab(AddInstallationTabEvent $event) { // Load language files $this->loadLanguage(); $tab = []; $tab['name'] = 'folder'; $tab['label'] = $this->getApplication()->getLanguage()->_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); // Render the input ob_start(); include PluginHelper::getLayoutPath('installer', 'folderinstaller'); $tab['content'] = ob_get_clean(); $event->addResult($tab); } } src/Extension/.htaccess 0000555 00000000355 15231065046 0011113 0 ustar 00 <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>