PageRenderTime 42ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/exchange/code/trunk/administrator/components/com_exchange/acl.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 17 lines | 5 code | 3 blank | 9 comment | 0 complexity | 8589cce1fedd7f30ad3340e2e75768ee MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: acl.php 280 2010-09-18 02:14:15Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_exchange
  6. * @copyright Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
  7. * @license GNU General Public License version 2 or later.
  8. * @link http://www.theartofjoomla.com
  9. */
  10. // no direct access
  11. defined('_JEXEC') or die;
  12. $acl = &JFactory::getACL();
  13. $acl->_mos_add_acl('com_exchange', 'export', 'users', 'super administrator');
  14. $acl->_mos_add_acl('com_exchange', 'restore', 'users', 'super administrator');