From 21a5934216dd70ed044102d4709b28db46dabce5 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 28 Jun 2020 23:50:26 +0200 Subject: [PATCH] Debug --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index ba36b60..f57c14f 100644 --- a/index.php +++ b/index.php @@ -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']) {