mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10970] Fixed a problem with prepending root paths
PHPBB3-10970
This commit is contained in:
parent
47c67b6d02
commit
003220dc7c
1 changed files with 5 additions and 1 deletions
|
@ -503,7 +503,11 @@ class phpbb_template
|
||||||
// Locate file
|
// Locate file
|
||||||
if ($locate)
|
if ($locate)
|
||||||
{
|
{
|
||||||
$file = $this->locator->get_first_file_location(array($file), true, true);
|
$located = $this->locator->get_first_file_location(array($file), false, true);
|
||||||
|
if ($located)
|
||||||
|
{
|
||||||
|
$file = $located;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if ($relative)
|
else if ($relative)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue