| Server IP : 217.160.0.64 / Your IP : 216.73.216.91 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/36/d4298801080/htdocs/crcanaldehesas/plugins/system/securitycheck/ |
Upload File : |
<?php
/**
* @Securitycheck plugin
* @copyright Copyright (c) 2011 - Jose A. Luque / Securitycheck Extensions
* @license GNU General Public License version 3, or later
*/
use Joomla\CMS\Factory;
class PlgSystemSecuritycheckInstallerScript
{
/**
* @param object $parent InstallerAdapter
*/
public function preflight(string $type, object $parent): bool
{
if ($type === 'uninstall' && !defined('PKG_SECURITYCHECK_UNINSTALL')) {
Factory::getApplication()->enqueueMessage('This plugin can only be uninstalled as part of the Securitycheck package.', 'error');
return false;
}
return true;
}
}