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-20 00:05:11 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-08-20 00:05:11 +0300
commit8d6a1de9541191824a69023408319ad3eb7737d2 (patch)
tree88c4a212807d85a36a30eba708f3bd74564166b6 /index.php
parent4e773c7fd27736bc7852880f5e7c901ac29b6fd9 (diff)
Use the router for the server import 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 1d794bed44..8c23d51855 100644
--- a/index.php
+++ b/index.php
@@ -108,6 +108,9 @@ if (isset($_GET['route']) || isset($_POST['route'])) {
$routes->addRoute(['GET', 'POST'], '/export', function () {
require_once ROOT_PATH . 'libraries/entry_points/server/export.php';
});
+ $routes->addRoute(['GET', 'POST'], '/import', function () {
+ require_once ROOT_PATH . 'libraries/entry_points/server/import.php';
+ });
$routes->addRoute('GET', '/plugins', function () {
require_once ROOT_PATH . 'libraries/entry_points/server/plugins.php';
});