Initial version with functionality to log into the component using frontend
This commit is contained in:
15
src/site/clubs.php
Normal file
15
src/site/clubs.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\CMS\Factory;
|
||||
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$controller = BaseController::getInstance("Clubs");
|
||||
$input = Factory::getApplication()->input;
|
||||
|
||||
$task = $input->getCmd("task", "display");
|
||||
|
||||
$controller->execute($task);
|
||||
$controller->redirect();
|
||||
Reference in New Issue
Block a user