diff options
| author | Fyorl <gaelreth@gmail.com> | 2012-07-24 11:55:38 +0100 |
|---|---|---|
| committer | Fyorl <gaelreth@gmail.com> | 2012-07-24 11:55:38 +0100 |
| commit | 003220dc7c781df38fde75f0007c3b3e48803162 (patch) | |
| tree | 0784ad9a478e38703600da5b0a6815011559bb4e /phpBB/includes/template/template.php | |
| parent | 47c67b6d021c6488106bb0d327600b35e08bf94b (diff) | |
| download | forums-003220dc7c781df38fde75f0007c3b3e48803162.tar forums-003220dc7c781df38fde75f0007c3b3e48803162.tar.gz forums-003220dc7c781df38fde75f0007c3b3e48803162.tar.bz2 forums-003220dc7c781df38fde75f0007c3b3e48803162.tar.xz forums-003220dc7c781df38fde75f0007c3b3e48803162.zip | |
[ticket/10970] Fixed a problem with prepending root paths
PHPBB3-10970
Diffstat (limited to 'phpBB/includes/template/template.php')
| -rw-r--r-- | phpBB/includes/template/template.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php index 8ab3c44be3..861a5e28e7 100644 --- a/phpBB/includes/template/template.php +++ b/phpBB/includes/template/template.php @@ -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) { |
