diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 7224c2e9f94..61a8eec0641 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -885,7 +885,8 @@ function loginfunction() '; -if (file_exists(DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_logo.png')) +// Affiche logo du theme si existe, sinon logo commun +if (file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/img/login_logo.png')) { print ''; }