[ticket/10970] Fixed a problem with prepending root paths

PHPBB3-10970
This commit is contained in:
Fyorl 2012-07-24 11:55:38 +01:00
parent 47c67b6d02
commit 003220dc7c

View file

@ -503,7 +503,11 @@ class phpbb_template
// Locate file
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)
{