allow to specifiy a path or url, instead only an url

This commit is contained in:
Ralf Becker 2010-06-02 21:28:07 +00:00
parent 13ff6543cf
commit a4a427e2ab

View File

@ -376,7 +376,8 @@ abstract class egw_framework
$var['messages'] = $api_messages . '<br />' . checkcode($cd);
}
if (substr($GLOBALS['egw_info']['server']['login_logo_file'],0,4) == 'http')
if (substr($GLOBALS['egw_info']['server']['login_logo_file'],0,4) == 'http' ||
$GLOBALS['egw_info']['server']['login_logo_file'][0] == '/')
{
$var['logo_file'] = $GLOBALS['egw_info']['server']['login_logo_file'];
}