aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-10 16:12:50 -0700
committerFriendika <info@friendika.com>2011-05-10 16:12:50 -0700
commitc052d688284fda76c612325b237d8352f2abb5d4 (patch)
tree7867f7a67b96f715644c2f4b9d1bc84a7371ebfc /mod/register.php
parent3ae36584110af2acd4a0f4805dd078da30732a1d (diff)
downloadvolse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.tar.gz
volse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.tar.bz2
volse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.zip
don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version.
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php
index 83e9e2891..21d5a1033 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -435,7 +435,7 @@ function register_content(&$a) {
$profile_publish_reg = '<input type="hidden" name="profile_publish_reg" value="1" />';
}
else {
- $publish_tpl = load_view_file("view/profile_publish.tpl");
+ $publish_tpl = file_get_contents("view/profile_publish.tpl");
$profile_publish = replace_macros($publish_tpl,array(
'$instance' => 'reg',
'$pubdesc' => t('Include your profile in member directory?'),
@@ -450,7 +450,7 @@ function register_content(&$a) {
$license = t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.');
- $o = load_view_file("view/register.tpl");
+ $o = file_get_contents("view/register.tpl");
$o = replace_macros($o, array(
'$oidhtml' => $oidhtml,
'$realpeople' => $realpeople,