uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
.
/
newok
/
includes
/
..
/
api
/
..
/
.
/
plugins
/
editors-xtd
/
sourcerer
/
script.install.php
/
/
<?php /** * @package Sourcerer * @version 12.1.0 * * @author Peter van Westen <info@regularlabs.com> * @link https://regularlabs.com * @copyright Copyright © 2025 Regular Labs All Rights Reserved * @license GNU General Public License version 2 or later */ defined('_JEXEC') or die; use Joomla\Filesystem\File as JFile; use Joomla\Filesystem\Folder as JFolder; class PlgEditorsXtdSourcererInstallerScript { public function postflight($install_type, $adapter) { if ( ! in_array($install_type, ['install', 'update'])) { return true; } self::deleteJoomla3Files(); return true; } private static function delete($files = []) { foreach ($files as $file) { if (is_dir($file)) { JFolder::delete($file); } if (is_file($file)) { JFile::delete($file); } } } private static function deleteJoomla3Files() { self::delete( [ JPATH_SITE . '/plugins/editors-xtd/sourcerer/layouts', JPATH_SITE . '/plugins/editors-xtd/sourcerer/fields.xml', JPATH_SITE . '/plugins/editors-xtd/sourcerer/helper.php', JPATH_SITE . '/plugins/editors-xtd/sourcerer/popup.php', JPATH_SITE . '/plugins/editors-xtd/sourcerer/popup.tmpl.php', ] ); } }
/home/opticamezl/www/./newok/includes/../api/.././plugins/editors-xtd/sourcerer/script.install.php