- if (false === empty($cfg['web_root']))
- {
- echo ' | ';
- echo '<a href="' . $cfg['web_root'] . 'tos.php">' . t('Terms of Service') . '</a>';
+ if (true == $cfg['installation_done']) {
+ echo ' <span>|</span> ';
+ echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>';