aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php2
1 files changed, 1 insertions, 1 deletions
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(),