Skip to content

HTTPS clone URL

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
<?php
/**
* 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.