Fix: Style mal chargé

This commit is contained in:
Laurent Destailleur 2006-09-11 18:59:42 +00:00
parent feeb2d64de
commit 9e2f8db5d6

View File

@ -1026,7 +1026,7 @@ function dol_loginfunction($notused,$pearstatus)
print '}'."\n"; print '}'."\n";
print '#login table {'; print '#login table {';
print ' border: 1px solid #C0C0C0;'; print ' border: 1px solid #C0C0C0;';
if (file_exists(DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png')) if (file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/img/login_background.png'))
{ {
print 'background: #F0F0F0 url('.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png) repeat-x;'; print 'background: #F0F0F0 url('.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png) repeat-x;';
} }