uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
consult-e-syn
/
public_html
/
643de
/
..
/
plugins
/
system
/
bettertrash
/
bettertrash.php
/
/
<?php /** * @package Better Trash * @version 1.9.0 * * @author Peter van Westen <info@regularlabs.com> * @link https://regularlabs.com * @copyright Copyright © 2023 Regular Labs All Rights Reserved * @license GNU General Public License version 2 or later */ defined('_JEXEC') or die; use Joomla\CMS\Factory as JFactory; use Joomla\CMS\Language\Text as JText; use RegularLabs\Library\Document as RL_Document; use RegularLabs\Library\Extension as RL_Extension; use RegularLabs\Library\SystemPlugin as RL_SystemPlugin; use RegularLabs\Plugin\System\BetterTrash\Buttons; use RegularLabs\Plugin\System\BetterTrash\Storage; use RegularLabs\Plugin\System\BetterTrash\Trash; // Do not instantiate plugin on install pages // to prevent installation/update breaking because of potential breaking changes $input = JFactory::getApplication()->input; if (in_array($input->get('option'), ['com_installer', 'com_regularlabsmanager']) && $input->get('action') != '') { return; } if ( ! is_file(__DIR__ . '/vendor/autoload.php')) { return; } require_once __DIR__ . '/vendor/autoload.php'; if ( ! is_file(JPATH_LIBRARIES . '/regularlabs/autoload.php') || ! is_file(JPATH_LIBRARIES . '/regularlabs/src/SystemPlugin.php') ) { JFactory::getLanguage()->load('plg_system_bettertrash', __DIR__); JFactory::getApplication()->enqueueMessage( JText::sprintf('BT_EXTENSION_CAN_NOT_FUNCTION', JText::_('BETTERTRASH')) . ' ' . JText::_('BT_REGULAR_LABS_LIBRARY_NOT_INSTALLED'), 'error' ); return; } require_once JPATH_LIBRARIES . '/regularlabs/autoload.php'; if ( ! RL_Document::isJoomlaVersion(3, 'BETTERTRASH')) { RL_Extension::disable('bettertrash', 'plugin'); RL_Document::adminError( JText::sprintf('RL_PLUGIN_HAS_BEEN_DISABLED', JText::_('BETTERTRASH')) ); return; } if (true) { class PlgSystemBetterTrash extends RL_SystemPlugin { public $_lang_prefix = 'BT'; public $_enable_in_frontend = false; public $_enable_in_admin = true; public $_disable_on_components = true; public $_page_types = ['html']; public $_jversion = 3; private $storage; private $buttons; private $trash; public function __construct(&$subject, $config = []) { parent::__construct($subject, $config); $this->trash = new Trash; $this->storage = new Storage; $this->buttons = new Buttons; } protected function handleOnAfterInitialise() { $this->trash->remove(); } protected function handleOnContentAfterSave($context, $item, $isNew) { $this->storage->updateItem($item, $isNew, $context); } protected function handleOnContentAfterDelete($context, $item) { $this->storage->removeItem($item, $context); } protected function handleOnContentChangeState($context, $ids, $state) { $this->storage->updateList($ids, $state, $context); } protected function handleOnAfterRender() { $this->buttons->change(); } } }
/var/www/consult-e-syn/public_html/643de/../plugins/system/bettertrash/bettertrash.php