deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue