From d5a13b1e4c0f35445aa539ff6b3779062907a9cb Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 22 Sep 2010 18:00:19 -0700 Subject: localisation path for all view templates --- mod/regmod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/regmod.php') diff --git a/mod/regmod.php b/mod/regmod.php index abf673a92..373180ba2 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -63,7 +63,7 @@ function regmod_content(&$a) { intval($register[0]['uid']) ); - $email_tpl = file_get_contents("view/register_open_eml.tpl"); + $email_tpl = load_view_file("view/register_open_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), -- cgit v1.2.3