This commit is contained in:
Yarmo Mackenbach 2020-06-28 23:50:26 +02:00
parent d0eeb37eb4
commit 21a5934216

View file

@ -29,6 +29,8 @@ $router->map('GET', '/[:uid]', function() {}, 'profile');
// Router matching
$match = $router->match();
print_r($match);
// Render the appropriate route
if(is_array($match) && is_callable($match['target'])) {
switch ($match['name']) {