deprecate load_view_file

This commit is contained in:
Friendika 2011-05-11 04:37:13 -07:00
commit b2e92e0af3
36 changed files with 135 additions and 102 deletions

View file

@ -4,7 +4,7 @@
function oexchange_init(&$a) {
if(($a->argc > 1) && ($a->argv[1] === 'xrd')) {
$tpl = file_get_contents('view/oexchange_xrd.tpl');
$tpl = get_markup_template('oexchange_xrd.tpl');
$o = replace_macros($tpl, array('$base' => $a->get_baseurl()));
echo $o;