mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Debug
This commit is contained in:
parent
d0eeb37eb4
commit
21a5934216
1 changed files with 2 additions and 0 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Reference in a new issue