aboutsummaryrefslogtreecommitdiffstats
path: root/mod/oexchange.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/oexchange.php')
-rw-r--r--mod/oexchange.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/oexchange.php b/mod/oexchange.php
index f97356559..f77cc5262 100644
--- a/mod/oexchange.php
+++ b/mod/oexchange.php
@@ -4,7 +4,7 @@
function oexchange_init(&$a) {
if(($a->argc > 1) && ($a->argv[1] === 'xrd')) {
- $tpl = load_view_file('view/oexchange_xrd.tpl');
+ $tpl = file_get_contents('view/oexchange_xrd.tpl');
$o = replace_macros($tpl, array('$base' => $a->get_baseurl()));
echo $o;