Your IP : 216.73.216.182


Current Path : /var/www/html/administrator/components/com_jce/
Upload File :
Current File : /var/www/html/administrator/components/com_jce/jce.php

<?php
/**
 * @copyright     Copyright (c) 2009-2026 Ryan Demmer. All rights reserved
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * JCE is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses
 */
\defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\BaseController;

// define admin base path
define('WF_ADMIN', __DIR__);

$app = Factory::getApplication();

// throw exception for legacy task
if ($app->input->getCmd('task') === 'plugin') {
    throw new Exception('Restricted', 403);
}

// constants and autoload
require_once __DIR__ . '/includes/base.php';

$controller = BaseController::getInstance('Jce', array('base_path' => __DIR__));

$controller->execute($app->input->getCmd('task'));
$controller->redirect();