File manager - Edit - /home/opticamezl/www/newok/filesystem.zip
Back
PK jd�\���# # local/services/provider.phpnu �[��� <?php /** * @package Joomla.Plugin * @subpackage Filesystem.local * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Filesystem\Local\Extension\Local; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $plugin = new Local( $container->get(DispatcherInterface::class), (array) PluginHelper::getPlugin('filesystem', 'local'), JPATH_ROOT ); $plugin->setLanguage(Factory::getApplication()->getLanguage()); return $plugin; } ); } }; PK jd�\�U�G G local/local.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="filesystem" method="upgrade"> <name>plg_filesystem_local</name> <author>Joomla! Project</author> <creationDate>2017-04</creationDate> <copyright>(C) 2017 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>4.0.0</version> <description>PLG_FILESYSTEM_LOCAL_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Filesystem\Local</namespace> <files> <folder plugin="local">services</folder> <folder>src</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_filesystem_local.ini</language> <language tag="en-GB">language/en-GB/plg_filesystem_local.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="directories" type="subform" label="PLG_FILESYSTEM_LOCAL_DIRECTORIES_LABEL" multiple="true" layout="joomla.form.field.subform.repeatable-table" buttons="add,remove,move" default='[{"directory":"images"}]' > <form> <field name="directory" type="folderlist" default="images" label="PLG_FILESYSTEM_LOCAL_DIRECTORIES_DIRECTORY_LABEL" folderFilter="" exclude="" stripext="" hide_none="true" validate="options" /> <field name="thumbs" type="radio" label="PLG_FILESYSTEM_LOCAL_DIRECTORIES_DIRECTORY_THUMBNAILS_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </form> </field> </fieldset> </fields> </config> </extension> PK jd�\��0t 0t "