diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-06-18 20:42:16 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-09 18:29:22 +0200 |
commit | b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07 (patch) | |
tree | 93bf9fdad16266be9504384e02c76d4b5a04cfa0 /phpBB/common.php | |
parent | 5815d21427ce015e2e93d32071a79a1134d20536 (diff) | |
download | forums-b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07.tar forums-b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07.tar.gz forums-b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07.tar.bz2 forums-b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07.tar.xz forums-b4d4336ef4043a5b3381a9e70d3bbc6bc6732d07.zip |
[ticket/12627] Add debug.sql_explain parameter
PHPBB3-12627
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 172503f078..a9a5139995 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -132,6 +132,8 @@ catch (InvalidArgumentException $e) $phpbb_class_loader->set_cache($phpbb_container->get('cache.driver')); $phpbb_class_loader_ext->set_cache($phpbb_container->get('cache.driver')); +$phpbb_container->get('dbal.conn')->set_debug_sql_explain($phpbb_container->getParameter('debug.sql_explain')); + require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx); register_compatibility_globals(); |