mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01:00
[ticket/12026] Remove root path, its prepended later
PHPBB3-12026
This commit is contained in:
parent
fc778fe637
commit
a5f1dc67b9
@ -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'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user