Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 347 Bytes
<?
function menur_menu() {
$items['haxe'] = array(
'page callback' => 'menur_haxe_router',
'access arguments' => array('access content'),
);
return $items;
}
function menur_haxe_router() {
require_once dirname(__FILE__).'/haxe/www/lib/php/Boot.class.php';
$dp=new DrupalDispatcher('haxe');
return $dp->getOutput();
}