You've already forked joomla_test
first commit
This commit is contained in:
1
components/com_media/index.html
Normal file
1
components/com_media/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
19
components/com_media/media.php
Normal file
19
components/com_media/media.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_media
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 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';
|
Reference in New Issue
Block a user