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:
authorMichal Čihař <michal@cihar.com>2017-10-23 14:04:48 +0300
committerMichal Čihař <michal@cihar.com>2017-10-25 11:21:18 +0300
commitdeed987f15d44645bef117b9e9599ae059b86ae8 (patch)
treee211f87954cb5f3452996c28d2b4ba10e8b88b05 /test/bootstrap-dist.php
parentafa5aa132819bc994b16ae63098e3ca54ea4939b (diff)
Always define PMA_Config in tests
It is needed for template rendering, so most tests need it. Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index b1ef84844b..1c4d6eac15 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -90,6 +90,7 @@ $_SESSION[' PMA_token '] = 'token';
$GLOBALS['PMA_Theme'] = PhpMyAdmin\Theme::load('./themes/pmahomme');
$_SESSION['tmpval']['pftext'] = 'F';
$GLOBALS['lang'] = 'en';
+$GLOBALS['PMA_Config'] = new PhpMyAdmin\Config();
// Check whether we have runkit extension
define('PMA_HAS_RUNKIT', function_exists('runkit_constant_redefine'));