Current Path :
/
home
/
develito
/
www
/
administrator
/
components
/
com_raforms
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/www/administrator/components/com_raforms/raforms.php
<?php /* ------------------------------------------------------------------------ # com_raforms - rootArea Forms # ------------------------------------------------------------------------ # author Markus Döhla # copyright Copyright (C) 2012 rootarea.de. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # @license - Please read policy about plugins development in administrator/components/com_raforms/license-plugins.txt carefully # @license - Additional EULA on www.rootarea.de DOES NOT apply to ANY lite packages # Websites: http://www.rootarea.de # Technical Support: Forum - http://www.rootarea.de/en/forum ------------------------------------------------------------------------- */ // no direct access defined('_JEXEC') or die; JHtml::_('behavior.tabstate'); // Set some global property $document = JFactory::getDocument(); $document->addStyleDeclaration('.icon-raforms {background-image: url(../media/com_raforms/images/RAforms48.png);}'); // Access check. if (!JFactory::getUser()->authorise('core.manage', 'com_raforms')) { return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); } // Include dependancies //jimport('joomla.application.component.controller'); require_once JPATH_COMPONENT.'/helpers/raforms.php'; RAformsHelper::addJSLanguageStrings('raforms'); $controller = JControllerLegacy::getInstance('raforms'); $controller->execute(JFactory::getApplication()->input->get('task')); //$controller->execute(JRequest::getCmd('task')); $controller->redirect();