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