я пытаюсь использовать altorouter для набора маршрутизации карты моего проекта PHP, в данный момент файл routes.php этоaltorouter маршруты не работают
<?php
$router = new AltoRouter();
$router->setBasePath('/home/b2bmomo/www/');
/* Setup the URL routing. This is production ready. */
// Main routes that non-customers see
$router->map('GET','/', '', 'home');
$router->map('GET', '/upload.php', 'uploadexcel');
$match = $router->match();
// call closure or throw 404 status
if($match && is_callable($match['target'])) {
call_user_func_array($match['target'], $match['params']);
} else {
// no route was matched
header($_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
}
?>
У меня есть 2 файла в основной директории моего проекта, index.php и upload.php, что случилось?