set('keys-sync-pubkey', file_get_contents('config/keys-sync.pub')); } else { $content->set('keys-sync-pubkey', 'Error: keyfile missing'); } $content->set('admin_mail', $config['email']['admin_address']); $content->set('baseurl', $config['web']['baseurl']); $content->set('security_config', isset($config['security']) ? $config['security'] : array()); $page = new PageSection('base'); $page->set('title', 'Help'); $page->set('content', $content); $page->set('alerts', $active_user->pop_alerts()); echo $page->generate();