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>2020-01-04 20:00:41 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-01-04 20:00:41 +0300
commitfdbf6ade80ec0678eab64032ed831e5db1f34a2d (patch)
tree12e735f37a73e0094229b4d0ab95917f4f3a8cea /test/bootstrap-dist.php
parent363707890b22cd453b30027578074fd70650e537 (diff)
Add environment config to test bootstrap
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index 394341e759..8d62e6407b 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -71,6 +71,8 @@ require_once ROOT_PATH . 'libraries/vendor_config.php';
require_once AUTOLOAD_FILE;
Loader::loadFunctions();
$GLOBALS['PMA_Config'] = new Config();
+$GLOBALS['PMA_Config']->set('environment', 'development');
+$GLOBALS['cfg']['environment'] = 'development';
// Initialize PMA_VERSION variable
define('PMA_VERSION', $GLOBALS['PMA_Config']->get('PMA_VERSION'));
define('PMA_MAJOR_VERSION', $GLOBALS['PMA_Config']->get('PMA_MAJOR_VERSION'));