Your IP : 216.73.217.142


Current Path : /var/www/consult-e-syn/public_html/plugins/editors-xtd/articlesanywhere/
Upload File :
Current File : /var/www/consult-e-syn/public_html/plugins/editors-xtd/articlesanywhere/articlesanywhere.php

<?php
/**
 * @package         Articles Anywhere
 * @version         14.2.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
 */

use RegularLabs\Library\Document as RL_Document;
use RegularLabs\Library\EditorButtonPlugin as RL_EditorButtonPlugin;
use RegularLabs\Library\Extension as RL_Extension;

defined('_JEXEC') or die;

if ( ! is_file(JPATH_LIBRARIES . '/regularlabs/autoload.php')
    || ! is_file(JPATH_LIBRARIES . '/regularlabs/src/EditorButtonPlugin.php')
)
{
    return;
}

require_once JPATH_LIBRARIES . '/regularlabs/autoload.php';

if ( ! RL_Document::isJoomlaVersion(3))
{
    RL_Extension::disable('articlesanywhere', 'plugin', 'editors-xtd');

    return;
}

if (true)
{
    class PlgButtonArticlesAnywhere extends RL_EditorButtonPlugin
    {
        var $folder = __DIR__;
    }
}