Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (10 sloc) 0.435 kb
* This handles all Ajax requests for the Data Generator Core.
require_once(realpath(dirname(__FILE__) . "/library.php"));
// sessions needed here AFTER installation, to get access to $user [or should it be passed &
// validated with all requests?]
//header("Cache-Control: private, no-cache, must-revalidate");
$ajaxRequest = new AjaxRequest(@$_POST["action"], $_POST);
echo json_encode($ajaxRequest->getResponse());
Jump to Line
Something went wrong with that request. Please try again.