summaryrefslogblamecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/api.inc.php
blob: 303f1560793f05382c2f1cc2f0c6a16333728629 (plain) (tree)
1
2
3
4
5
6
7
8
9

     




                                                         
                
                                             
         

                                
<?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);
})();