Your IP : 216.73.217.68


Current Path : /home/w/u/e/wuectly/www/03cbe/
Upload File :
Current File : /home/w/u/e/wuectly/www/03cbe/script.php.tar

home/wuectly/www/plugins/system/jcemediabox/script.php000060400000003557152455626030017326 0ustar00<?php
/**
 * @package     JCE MediaBox
 * @subpackage  System
 * @copyright   Copyright (C) 2023 Ryan Demmer. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('_JEXEC') or die;

use Joomla\CMS\Filesystem\File;
use Joomla\CMS\Filesystem\Folder;

class PlgSystemJcemediaboxInstallerScript
{
    /**
     * Method to run after an install/update method.
     *
     * @param   string  $type    The type of change (install, update or discover_install).
     * @param   object  $parent  The class calling this method.
     *
     * @return  void
     */
    public function postflight($type, $parent)
    {
        // Only run on install or update
        if ($type === 'install' || $type === 'update') {
            $this->cleanuInstall();
        }
    }

    /**
     * Deletes specified files and folders if they exist.
     *
     * @return  void
     */
    protected function cleanuInstall()
    {
        $root = JPATH_ROOT . '/plugins/system/jcemediabox';

        $folders = ['css', 'fonts', 'img', 'js', 'layouts', 'mediaplayer', 'themes'];
        $files = ['fields/menuitemchecklist.php'];

        foreach ($files as $file) {
            if (is_file($root . '/' . $file)) {
                File::delete($root . '/' . $file);
            }
        };

        foreach ($folders as $folder) {
            if (is_dir($root . '/' . $folder)) {
                Folder::delete($root . '/' . $folder);
            }
        }

        // delete old language files
        $languages = array(
            'administrator/language/en-GB/en-GB.plg_system_jcemediabox.ini',
            'administrator/language/en-GB/en-GB.plg_system_jcemediabox.sys.ini'
        );

        foreach ($languages as $file) {
            if (is_file(JPATH_SITE . '/' . $file)) {
                File::delete(JPATH_SITE . '/' . $file);
            }
        }
    }
}
home/wuectly/www/plugins/quickicon/akeebabackup/script.php000060400000000760152455722670020113 0ustar00<?php
/**
 * @package   akeebabackup
 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

use FOF40\InstallScript\Plugin;

defined('_JEXEC') || die;

// Load FOF if not already loaded
if (!defined('FOF40_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof40/include.php'))
{
	throw new RuntimeException('This extension requires FOF 4.');
}

class plgQuickiconAkeebabackupInstallerScript extends Plugin
{
}
home/wuectly/www/plugins/actionlog/akeebabackup/script.php000060400000000760152455723260020101 0ustar00<?php
/**
 * @package   akeebabackup
 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

use FOF40\InstallScript\Plugin;

defined('_JEXEC') || die;

// Load FOF if not already loaded
if (!defined('FOF40_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof40/include.php'))
{
	throw new RuntimeException('This extension requires FOF 4.');
}

class plgActionlogAkeebabackupInstallerScript extends Plugin
{
}
home/wuectly/www/plugins/system/backuponupdate/script.php000060400000000757152456133520020056 0ustar00<?php
/**
 * @package   akeebabackup
 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

use FOF40\InstallScript\Plugin;

defined('_JEXEC') || die;

// Load FOF if not already loaded
if (!defined('FOF40_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof40/include.php'))
{
	throw new RuntimeException('This extension requires FOF 4.');
}

class plgSystemBackuponupdateInstallerScript extends Plugin
{
}
home/wuectly/www/plugins/system/akversioncheck/script.php000060400000000757152456134400020046 0ustar00<?php
/**
 * @package   akeebabackup
 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

use FOF40\InstallScript\Plugin;

defined('_JEXEC') || die;

// Load FOF if not already loaded
if (!defined('FOF40_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof40/include.php'))
{
	throw new RuntimeException('This extension requires FOF 4.');
}

class plgSystemAkversioncheckInstallerScript extends Plugin
{
}