Skip to content

Commit

Permalink
Update controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-meunier authored and erichhuebner committed Feb 8, 2021
1 parent 739f5b4 commit d99068a
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions core/components/com_dataviewer/site/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,7 @@ function controller()
}
}

function task_file($db_id)
{
$view = 'file';
$file = (__DIR__.DS."view".DS."$view.php");

if (file_exists($file)) {
require_once ($file);
view();
}
}


function task_stream_file($db_id)
{
$hash = Request::getString('hash');
stream_file($hash);
exit;
}
/* functions task_file and task_stream_file removed 2/8/2021 due to multitude of severe vulnerabilities */

function task_view($db_id)
{
Expand Down

0 comments on commit d99068a

Please sign in to comment.