load('com_tabulizer', JPATH_ADMINISTRATOR); // Helper functions and defines require_once(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_tabulizer'.DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR.'common'.DIRECTORY_SEPARATOR.'helper.php'); // Require once css files $document = JFactory::getDocument(); $document->addStyleSheet('administrator/components/com_tabulizer/assets/css/tabulizer.css'); // Require the base controller require_once (JPATH_COMPONENT_ADMINISTRATOR.DIRECTORY_SEPARATOR.'controller.php'); // Create the controller $controller = new tabulizerController(); // Perform the Request task $jinput = JFactory::getApplication()->input; $controller->execute($jinput->getCmd('task', null)); $controller->redirect(); ?>