Example #1
0
<?php
/**
* @version		$Id: config.php 103 2009-06-21 19:21:18Z happynoodleboy $
* @package		JCE
* @copyright	Copyright (C) 2009 Ryan Demmer. All rights reserved.
* @license		GNU/GPL
* This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// Controller
require_once( JPATH_COMPONENT .DS. 'config' .DS. 'controller.php' );

// Create the controller
$controller	= new ConfigController( array(
	'base_path' =>  JPATH_COMPONENT .DS. 'config' 
) );

$controller->execute( JRequest::getCmd( 'task' ) );
$controller->redirect();
?>