PageRenderTime 24ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/components/com_media/media.php

https://bitbucket.org/eternaware/joomus
PHP | 19 lines | 7 code | 3 blank | 9 comment | 0 complexity | 23d735ee9cdd9b22913a02592b36d716 MD5 | raw file
Possible License(s): LGPL-2.1
 1<?php
 2/**
 3 * @package     Joomla.Site
 4 * @subpackage  com_media
 5 *
 6 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 7 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 8 */
 9
10defined('_JEXEC') or die;
11
12// Load the com_media language files, default to the admin file and fall back to site if one isn't found
13$lang = JFactory::getLanguage();
14$lang->load('com_media', JPATH_ADMINISTRATOR, null, false, false)
15||	$lang->load('com_media', JPATH_SITE, null, false, false)
16||	$lang->load('com_media', JPATH_ADMINISTRATOR, $lang->getDefault(), false, false);
17
18// Hand processing over to the admin base file
19require_once JPATH_COMPONENT_ADMINISTRATOR . '/media.php';