Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-7858 now.

Custom lang path not used when sending e-mails (fix completed in vcs)

Changing the language directory's path doesn't change the directory where e-mail templates are loaded from.

Open includes/functions_messenger.php.
Find (line 150):
Code: Select all
      global $config, $phpbb_root_path;

Replace with:
Code: Select all
      global $config, $user;

Find (line 164):
Code: Select all
         $tpl_file = "{$phpbb_root_path}language/$template_lang/email/$template_file.txt";

Replace with:
Code: Select all
         $tpl_file = "{$user->lang_path}$template_lang/email/$template_file.txt";

Comments / History

Linked ticket with changeset: r9450

Action performed by Anonymous (I am too lazy to register) on Apr 17th 2009, 09:08

Changed ticket status from "New" to "Fix completed in SVN"

Action performed by Acyd Burn (Server Manager) on Apr 17th 2009, 09:08

Ticket details

Duplicates of this ticket

Related SVN changesets