aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-13 23:22:54 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-13 23:22:54 +0200
commit300d5c32db82a72309d389860864e5513ca45ce4 (patch)
treef6d1de27fcee6930c5777cb1db0233919454858d /phpBB/includes
parentbec9b7c34e63c7485477fa1edc2f6330889cc699 (diff)
downloadforums-300d5c32db82a72309d389860864e5513ca45ce4.tar
forums-300d5c32db82a72309d389860864e5513ca45ce4.tar.gz
forums-300d5c32db82a72309d389860864e5513ca45ce4.tar.bz2
forums-300d5c32db82a72309d389860864e5513ca45ce4.tar.xz
forums-300d5c32db82a72309d389860864e5513ca45ce4.zip
[ticket/12509] Add an option to set the path of custom file for extensions
https://tracker.phpbb.com/browse/PHPBB3-12509 PHPBB3-12509
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_messenger.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 79a5aeda1a..bc5937fdc4 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -252,7 +252,10 @@ class messenger
}
}
- $this->set_template_paths($template_lang . '_email', $template_paths);
+ $this->set_template_paths(array(
+ 'name' => $template_lang . '_email',
+ 'ext_path' => 'language/' . $template_lang . '/email'
+ ), $template_paths);
$this->template->set_filenames(array(
'body' => $template_file . '.txt',