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:
authorWilliam Desportes <williamdes@wdes.fr>2020-03-19 00:44:44 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-03-28 12:38:11 +0300
commit8c7b7b10db700d929162c070852437f212cc6cf1 (patch)
tree722896a6ce5caf60f505fe16fdfcbf5a5aeabf20 /index.php
parent105daa8584a4153125b6b04b0e94150d3027f0d7 (diff)
Move PMA_MINIMUM_COMMON for import-status route after auto-loader
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/index.php b/index.php
index 6383c741b1..6fe4765a7d 100644
--- a/index.php
+++ b/index.php
@@ -14,14 +14,6 @@ if (! defined('ROOT_PATH')) {
global $route;
-$route = Routing::getCurrentRoute();
-
-if ($route === '/import-status') {
- // phpcs:disable PSR1.Files.SideEffects
- define('PMA_MINIMUM_COMMON', true);
- // phpcs:enable
-}
-
require_once ROOT_PATH . 'libraries/common.inc.php';
$dispatcher = Routing::getDispatcher();