Files
sourceforge-ossez/oss/joomla/trunk/components/com_attachments/attachments.php
T
YuCheng Hu ebf740f742 添加到 trunk
+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@275 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
2010-06-13 22:21:03 +00:00

20 lines
692 B
PHP

<?php
defined('_JEXEC') or die('Restricted access');
/**
* Attachments component
* @package Attachments
* @Copyright (C) 2007, 2008 Jonathan M. Cameron, All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @link http://joomlacode.org/gf/project/attachments/frs/
* @author Jonathan M. Cameron
**/
require_once( JPATH_COMPONENT.DS.'controller.php' );
JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_attachments'.DS.'tables');
// Use default controller
$controller = new AttachmentsController( array('default_task' => 'noop') );
$controller->execute( JRequest::getVar('task') );
$controller->redirect();
?>