Skip to content

Commit 3398fcb

Browse files
committed
add phpinfo page
1 parent edb24c2 commit 3398fcb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/route.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@
9898
'GET' => new Page('home/index', ['title' => 'Demo Page'])
9999
]
100100
],
101+
'phpinfo' => [
102+
'path' => '/phpinfo',
103+
'controller' => function() { return function() {
104+
phpinfo();
105+
}; },
106+
],
101107
'app' => [
102108
/*'host' => 'nexus.app.dev',
103109
'port' => 8000,*/

0 commit comments

Comments
 (0)