14 lines
357 B
PHP
Raw Normal View History

2017-01-16 22:21:11 -05:00
<?php
2017-01-17 22:12:45 -05:00
//define('IN_SCRIPT', 1);
//define('HESK_PATH', '../');
2017-01-17 22:08:48 -05:00
// Router: handles all REST requests to go to their proper place. Common dependency loading also happens here
2017-01-17 22:12:45 -05:00
//require_once(__DIR__ . '/core/common.php');
require(__DIR__ . '/../Link/src/Link.php');
2017-01-16 22:21:11 -05:00
2017-01-17 22:12:45 -05:00
function routeMe(){
echo 'I am routed';
}
2017-01-17 21:58:57 -05:00
2017-01-17 22:12:45 -05:00
Link::all( array(
'/test' => 'routeMe',
));