Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/domains/alsaif.group/private_html/plugins/system/regularlabs/ |
<?php
/**
* @package Regular Labs Library
* @version 22.6.24735
*
* @author Peter van Westen <info@regularlabs.com>
* @link http://regularlabs.com
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
if ( ! class_exists('PlgSystemRegularLabsInstallerScript'))
{
require_once __DIR__ . '/script.install.helper.php';
class PlgSystemRegularLabsInstallerScript extends PlgSystemRegularLabsInstallerScriptHelper
{
public $name = 'REGULAR_LABS_LIBRARY';
public $alias = 'regularlabs';
public $extension_type = 'plugin';
public $show_message = false;
public $soft_break = true;
public function onBeforeInstall($route)
{
if ( ! parent::onBeforeInstall($route))
{
return false;
}
return $this->isNewer();
}
public function uninstall($adapter)
{
$this->uninstallLibrary($this->extname);
}
}
}