Файловый менеджер - Редактировать - /var/www/consult-e-syn/public_html/administrator/modules/mod_cachecleaner/mod_cachecleaner.php
Назад
<?php /** * @package Cache Cleaner * @version 8.5.0PRO * * @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\Plugin\PluginHelper as JPluginHelper; use RegularLabs\Library\Document as RL_Document; /** * Module that cleans cache */ // return if Regular Labs Library plugin is not installed jimport('joomla.filesystem.file'); if ( ! is_file(JPATH_PLUGINS . '/system/regularlabs/regularlabs.xml') || ! is_file(JPATH_LIBRARIES . '/regularlabs/autoload.php') ) { return; } require_once JPATH_LIBRARIES . '/regularlabs/autoload.php'; if ( ! RL_Document::isJoomlaVersion(3)) { return; } // return if Regular Labs Library plugin is not enabled if ( ! JPluginHelper::isEnabled('system', 'regularlabs')) { return; } // return if Cache Cleaner system plugin is not enabled if ( ! JPluginHelper::isEnabled('system', 'cachecleaner')) { return; } if (true) { // Include the syndicate functions only once require_once __DIR__ . '/helper.php'; $helper = new ModCacheCleaner; $helper->render(); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.16 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка