aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorrechosen <rechosen@gmail.com>2013-09-23 18:08:29 +0200
committerrechosen <rechosen@gmail.com>2013-09-23 18:08:29 +0200
commite45b69ee094d8e3cb8cb91ebdcddb8f50db7b806 (patch)
tree0c7421d14d3f803358740a2febb84bc06acd4dac /phpBB/includes/functions_module.php
parent564a7cc89dcd2464024b78fe2e70adef771368f2 (diff)
parent717e2337b9276d9f9680110dff552ea536d0723c (diff)
downloadforums-e45b69ee094d8e3cb8cb91ebdcddb8f50db7b806.tar
forums-e45b69ee094d8e3cb8cb91ebdcddb8f50db7b806.tar.gz
forums-e45b69ee094d8e3cb8cb91ebdcddb8f50db7b806.tar.bz2
forums-e45b69ee094d8e3cb8cb91ebdcddb8f50db7b806.tar.xz
forums-e45b69ee094d8e3cb8cb91ebdcddb8f50db7b806.zip
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11786
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 99c24fcb19..80477684a8 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -455,7 +455,7 @@ class p_master
*/
function load_active($mode = false, $module_url = false, $execute_module = true)
{
- global $phpbb_root_path, $phpbb_admin_path, $phpEx, $user, $phpbb_style;
+ global $phpbb_root_path, $phpbb_admin_path, $phpEx, $user, $template;
$module_path = $this->include_path . $this->p_class;
$icat = request_var('icat', '');
@@ -508,7 +508,7 @@ class p_master
if (is_dir($module_style_dir))
{
- $phpbb_style->set_custom_style('admin', array($module_style_dir, $phpbb_admin_path . 'style'), array(), '');
+ $template->set_custom_style('adm', array($module_style_dir, $phpbb_admin_path . 'style'));
}
}
@@ -537,7 +537,7 @@ class p_master
if (is_dir($phpbb_root_path . $module_style_dir))
{
- $phpbb_style->set_style(array($module_style_dir, 'styles'));
+ $template->set_style(array($module_style_dir, 'styles'));
}
}