Check the called task in the script components/com_component/virtueupload.php
| Code: |
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once('controller.php');
$controller = new VirtueUploadController();
$task = JRequest::getVar('task');
foreach ($controller->_taskMap as $key => $value) {
$allowedTask = ($task == $key);
if ($allowedTask) break;
}
if (!$allowedTask) {
echo '"'.$task.'" is not in the list of allowed tasks: <pre>';
print_r($controller->_taskMap);
echo "</pre>Program aborted.";
} else {
$controller->execute($task);
}
$controller->redirect();
|