Annotation of /mambo/branches/4.6/administrator/components/com_languages/admin.languages.php
Parent Directory
|
Revision Log
Revision 298 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | csouza | 298 | /** |
| 3 : | * @package Mambo Open Source | ||
| 4 : | * @subpackage Languages | ||
| 5 : | * @author Carlos Souza <csouza@mambo-foundation.org> | ||
| 6 : | * @copyright (C) 2005 - 2006 Mambo Foundation Inc. | ||
| 7 : | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * | ||
| 8 : | * | ||
| 9 : | * Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure | ||
| 10 : | * that Mambo remained free Open Source software owned and managed by the community. | ||
| 11 : | * Mambo is Free Software | ||
| 12 : | */ | ||
| 13 : | root | 1 | |
| 14 : | csouza | 298 | /** ensure this file is being included by a parent file */ |
| 15 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 16 : | |||
| 17 : | $task = mosGetParam($_REQUEST, 'task', ''); | ||
| 18 : | |||
| 19 : | // ensure user has access to this component | ||
| 20 : | if (!$acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_languages' ) ) { | ||
| 21 : | mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') ); | ||
| 22 : | } | ||
| 23 : | |||
| 24 : | require_once(mamboCore::get('rootPath').'/includes/phpgettext/error.php'); | ||
| 25 : | csouza | 188 | require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'admin.languages.class.php'); |
| 26 : | $include_path = ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.dirname(__FILE__)); | ||
| 27 : | $controller = new Controller('com_languages'); | ||
| 28 : | csouza | 298 | $controller->forward($task); |
| 29 : | csouza | 188 | ini_set('include_path', $include_path); |
| 30 : | csouza | 151 | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

