esedic
12/16/2015 - 6:05 PM

jpainter.php

<?php
defined('_JEXEC') or die;

$controller = JControllerLegacy::getInstance('Jpainter');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();