diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-12-03 10:02:53 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-12-03 18:10:20 +0100 |
commit | a5f1dc67b9a29b80f584ca753260fb8dbe459a43 (patch) | |
tree | a91ec789bc0c5c3cbad79c30695a34c7485d9a58 /phpBB/includes/functions_module.php | |
parent | fc778fe63706d21ce2fd78f10e5c8f4dec29ed3b (diff) | |
download | forums-a5f1dc67b9a29b80f584ca753260fb8dbe459a43.tar forums-a5f1dc67b9a29b80f584ca753260fb8dbe459a43.tar.gz forums-a5f1dc67b9a29b80f584ca753260fb8dbe459a43.tar.bz2 forums-a5f1dc67b9a29b80f584ca753260fb8dbe459a43.tar.xz forums-a5f1dc67b9a29b80f584ca753260fb8dbe459a43.zip |
[ticket/12026] Remove root path, its prepended later
PHPBB3-12026
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r-- | phpBB/includes/functions_module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index 0d0f79a16d..e1259eba12 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -533,9 +533,9 @@ class p_master // 0 vendor, 1 extension name, ... if (isset($module_dir[1])) { - $module_style_dir = $phpbb_root_path . 'ext/' . $module_dir[0] . '/' . $module_dir[1] . '/styles'; + $module_style_dir = 'ext/' . $module_dir[0] . '/' . $module_dir[1] . '/styles'; - if (is_dir($module_style_dir)) + if (is_dir($phpbb_root_path . $module_style_dir)) { $template->set_style(array($module_style_dir, 'styles')); } |