There is a function:

function load($view, $lang, $page) { $trans = (array) simplexml_load_file(ROOT.'/lang/'.$lang.'/'.$page.'.xml'); require_once 'content/'.$view.'.php'; } 

Call it:

 public function start() { load('signup', $this->lang, 'signup'); } 

Bottom line: no errors, do not output html code But it worked before, and also works on other pages!

0