aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-04 04:22:34 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-04 04:22:34 -0700
commit941b2331f1b99b3f06cac9e7e864f08a2b44b9a9 (patch)
tree4064af5dc5c5fe1e74239e3e7e71e2292cb2ffb3 /include/hostxrd.php
parentb8a9581acb3525c6c1c8dc872dd93cfba89c6dd8 (diff)
downloadvolse-hubzilla-941b2331f1b99b3f06cac9e7e864f08a2b44b9a9.tar.gz
volse-hubzilla-941b2331f1b99b3f06cac9e7e864f08a2b44b9a9.tar.bz2
volse-hubzilla-941b2331f1b99b3f06cac9e7e864f08a2b44b9a9.zip
xrd cannot be called before db is open to get language
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r--include/hostxrd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php
index f3bf9e769..3279cea68 100644
--- a/include/hostxrd.php
+++ b/include/hostxrd.php
@@ -1,6 +1,6 @@
<?php
- $tpl = load_view_file('view/xrd_host.tpl');
+ $tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$this->hostname,$tpl);
session_write_close();
exit();