diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 3a9b7d099eb..305231a482d 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -663,16 +663,9 @@ function dol_loginfunction($langs,$conf,$mysoc) // Table 1 print ''; - if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) - { - // TODO A virer Cas qui ne devrait pas arriver (pour compatibilité) - print ''; - } - else - { - print ''; - } + $title='Dolibarr '.DOL_VERSION; + if (! empty($conf->global->MAIN_APPLICATION_TITLE)) $title=$conf->global->MAIN_APPLICATION_TITLE; + print ''; print '
'; - print '
Dolibarr '.DOL_VERSION.'
'.$title.'
'; print '
';