summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/api.inc.php
blob: 303f1560793f05382c2f1cc2f0c6a16333728629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

(function() {
	$builder = new ScriptBuilderIpxe();
	$entryId = Request::get('entryid', false, 'int');
	if ($entryId !== false) {
		$data = $builder->getMenuEntry($entryId);
	} else {
		$data = $builder->fallback();
	}
	$builder->output($data);
})();