aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view/is_admin.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/admin_multi_view/is_admin.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/admin_multi_view/is_admin.inc.php b/plugins/admin_multi_view/is_admin.inc.php
index 78f68eef1..0f85c5e0d 100644
--- a/plugins/admin_multi_view/is_admin.inc.php
+++ b/plugins/admin_multi_view/is_admin.inc.php
@@ -17,6 +17,11 @@ if (! defined('MULTIVIEW_CONTROLLER') )
{
$user['language'] = $lang;
}
+ global $conf;
+ if (pwg_get_session_var( 'multiview_show_queries', 0 ))
+ $conf['show_queries'] = true;
+ if (pwg_get_session_var( 'multiview_debug_l10n', 0 ))
+ $conf['debug_l10n'] = true;
}
add_event_handler('loc_end_page_header', 'multiview_loc_end_page_header');