1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-10-24 04:36:32 +02:00

fix internal links

This commit is contained in:
Danny van Kooten
2023-10-09 20:14:26 +02:00
parent 034b84533b
commit 6bd61a7a04
5 changed files with 24 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ title: Processing requests using AltoRouter
layout: default
---
<h1>
<small>Using AltoRouter</small>
<small>Using AltoRouter</small>
Processing Requests
</h1>
@@ -27,7 +27,7 @@ $match = $router->match();
// call closure or throw 404 status
if( is_array($match) && is_callable( $match['target'] ) ) {
call_user_func_array( $match['target'], $match['params'] );
call_user_func_array( $match['target'], $match['params'] );
} else {
// no route was matched
header( $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
@@ -35,6 +35,6 @@ if( is_array($match) && is_callable( $match['target'] ) ) {
{% endhighlight %}
<p>
<a style="float:left;" href="/usage/matching-requests.html">&laquo; Matching requests</a>
<a style="float:left;" href="{{ '/usage/matching-requests.html' | relative_url }}">&laquo; Matching requests</a>
<br style="clear:both;">
</p>
</p>