diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-11 00:39:49 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-11 00:39:49 +0300 |
commit | e761ab440e912a7071c2a6b2c1ba80143adf8050 (patch) | |
tree | 8870e052be21e7d5a748ae9274057ebb906a5766 /index.php | |
parent | 9a09477bf2290e265212b78f424755c5eb5dfcd9 (diff) |
Use the router for the server status advisor page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -109,6 +109,9 @@ if (isset($_GET['route']) || isset($_POST['route'])) { $routes->addRoute('GET', '', function () { require_once ROOT_PATH . 'libraries/entry_points/server/status.php'; }); + $routes->addRoute('GET', '/advisor', function () { + require_once ROOT_PATH . 'libraries/entry_points/server/status/advisor.php'; + }); $routes->addRoute('GET', '/queries', function () { require_once ROOT_PATH . 'libraries/entry_points/server/status/queries.php'; }); |