1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12509] Add an option to set the path of custom file for extensions

https://tracker.phpbb.com/browse/PHPBB3-12509

PHPBB3-12509
This commit is contained in:
Tristan Darricau
2014-05-13 23:22:54 +02:00
parent bec9b7c34e
commit 300d5c32db
2 changed files with 17 additions and 6 deletions

View File

@@ -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',