1
0
Fork 0

xrd cannot be called before db is open to get language

This commit is contained in:
Mike Macgirvin 2010-10-04 04:22:34 -07:00
commit 941b2331f1
3 changed files with 24 additions and 30 deletions

View file

@ -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();