Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-08-11 00:39:49 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-08-11 00:39:49 +0300
commite761ab440e912a7071c2a6b2c1ba80143adf8050 (patch)
tree8870e052be21e7d5a748ae9274057ebb906a5766 /index.php
parent9a09477bf2290e265212b78f424755c5eb5dfcd9 (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.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index bb4616b53e..804e020474 100644
--- a/index.php
+++ b/index.php
@@ -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';
});