xrd cannot be called before db is open to get language
This commit is contained in:
parent
b8a9581acb
commit
941b2331f1
3 changed files with 24 additions and 30 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue