CoreFiles by mySites.guru
media.php19 lines, 723 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
23d735ee9cdd9b22913a02592b36d716
sha1
e7f298f7ca93f42ab7122a2d64457a83962e856f
sha256
c977cf0ac761d85db51e3ce57b47117aa6b5cd83d9bc9ff3a5026e96b0ab27e8
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_media
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Load the com_media language files, default to the admin file and fall back to site if one isn't found
$lang = JFactory::getLanguage();
$lang->load('com_media', JPATH_ADMINISTRATOR, null, false, false)
||	$lang->load('com_media', JPATH_SITE, null, false, false)
||	$lang->load('com_media', JPATH_ADMINISTRATOR, $lang->getDefault(), false, false);

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

The same content is in 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.