forked from Mirrors/keyoxide-web
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
|
// Router matching
|
||||||
$match = $router->match();
|
$match = $router->match();
|
||||||
|
|
||||||
|
print_r($match);
|
||||||
|
|
||||||
// Render the appropriate route
|
// Render the appropriate route
|
||||||
if(is_array($match) && is_callable($match['target'])) {
|
if(is_array($match) && is_callable($match['target'])) {
|
||||||
switch ($match['name']) {
|
switch ($match['name']) {
|
||||||
|
|
Loading…
Reference in a new issue