authorise('core.manage', 'com_phocadownload')) { throw new Exception(Text::_('COM_PHOCADOWNLOAD_ERROR_ALERTNOAUTHOR'), 404); return false; } if (! class_exists('PhocaDownloadLoader')) { require_once( JPATH_ADMINISTRATOR.'/components/com_phocadownload/libraries/loader.php'); } require_once JPATH_ADMINISTRATOR . '/components/com_phocadownload/libraries/autoloadPhoca.php'; require_once( JPATH_COMPONENT.'/controller.php' ); jimport( 'joomla.filesystem.folder' ); jimport( 'joomla.filesystem.file' ); phocadownloadimport('phocadownload.path.path'); phocadownloadimport('phocadownload.utils.utils'); phocadownloadimport('phocadownload.utils.settings'); phocadownloadimport('phocadownload.utils.exception'); phocadownloadimport('phocadownload.render.renderadmin'); phocadownloadimport('phocadownload.render.renderadminview'); phocadownloadimport('phocadownload.render.renderadminviews'); phocadownloadimport('phocadownload.html.category'); phocadownloadimport('phocadownload.html.jgrid'); phocadownloadimport('phocadownload.html.batch'); phocadownloadimport('phocadownload.file.file'); phocadownloadimport('phocadownload.file.fileupload'); phocadownloadimport('phocadownload.file.fileuploadmultiple'); phocadownloadimport('phocadownload.file.fileuploadsingle'); phocadownloadimport('phocadownload.category.category'); phocadownloadimport('phocadownload.tag.tag'); phocadownloadimport('phocadownload.rate.rate'); jimport('joomla.application.component.controller'); $controller = BaseController::getInstance('PhocaDownloadCp'); $controller->execute(Factory::getApplication()->input->get('task')); $controller->redirect(); ?>