Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (8 sloc) 0.286 kB
<?PHP
require 'includes/master.inc.php';
$o = new Order($_GET['id']);
if(!$o->ok()) exit;
$computed_hash = md5($o->id . $_GET['x'] . Config::get('authSalt'));
if($computed_hash !== $_GET['h']) exit;
if((time() > $_GET['x']) && ($_GET['x'] > 0)) exit;
$o->downloadLicense();
Jump to Line
Something went wrong with that request. Please try again.