Browse Source

ajax.php: pass all get parameters to functions

master
parent
commit
bf95d21336
  1. 2
      ajax.php

2
ajax.php

@ -22,6 +22,6 @@ if ($postdata) {
}
$fun = "ajax_{$_REQUEST['__func']}";
$return = $fun($_REQUEST["param"], $postdata);
$return = $fun($_REQUEST, $postdata);
print json_encode($return);
Loading…
Cancel
Save