__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /** * @package Sourcerer * @version 10.0.4 * * @author Peter van Westen <[email protected]> * @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\Filesystem\File as JFile; use Joomla\CMS\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', ] ); } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| forms | Folder | 0775 |
|
|
| language | Folder | 0775 |
|
|
| src | Folder | 0775 |
|
|
| tmpl | Folder | 0775 |
|
|
| script.install.php | File | 1.48 KB | 0664 |
|
| sourcerer.php | File | 1.74 KB | 0664 |
|
| sourcerer.xml | File | 1.79 KB | 0664 |
|