You've already forked explain.depesz.com
mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-07-17 01:42:34 +02:00
Add /info page
This is only for users logged in, with granted "admin" privileges (is_admin column in users table in database, by default false for everybody, has to be manually changed in database). Info page shows loaded modules, perl version and paths to used perl interpreter and top level of explain.depesz.com application.
This commit is contained in:
@ -71,6 +71,9 @@ sub startup {
|
||||
# route: 'help'
|
||||
$routes->route( '/help' )->to( 'controller#help' )->name( 'help' );
|
||||
|
||||
# route: 'info'
|
||||
$routes->route( '/info' )->to( 'controller#info' )->name( 'info' );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user