mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10970] Fixed a problem with prepending root paths
PHPBB3-10970
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user