<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_jmedia
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

use Joomla\CMS\Factory;

defined('_JEXEC') or die;
// Load the com_jmedia language files, default to the admin file and fall back to site if one isn't found
$lang = Factory::getLanguage();
$lang->load('com_jmedia', JPATH_ADMINISTRATOR, null, false, true)
|| $lang->load('com_jmedia', JPATH_SITE, null, false, true);

// Hand processing over to the admin base file
require_once JPATH_COMPONENT_ADMINISTRATOR . '/jmedia.php';
