Skip to content
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.

Changed according to com_content #9

Open
wants to merge 1 commit into
base: step-10-adding-decorations-to-the-backend
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions site/helloworld.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

// No direct access to this file
defined('_JEXEC') or die;

// Get an instance of the controller prefixed by HelloWorld
$controller = JControllerLegacy::getInstance('HelloWorld');

// Perform the Request task
$input = JFactory::getApplication()->input;
$controller->execute($input->getCmd('task'));

// Redirect if set by the controller
$controller->execute(JFactory::getApplication()->input->getCmd('task'));
$controller->redirect();