Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
This commit is contained in:
commit
1a92df05e7
|
@ -197,17 +197,17 @@ sub _buildAuthLoop {
|
|||
"Display type $displayType for module $auth");
|
||||
$optionsLoop->{$displayType} = 1;
|
||||
|
||||
# If displayType is logo, check if key.png is available
|
||||
# TODO:
|
||||
#if (
|
||||
# -e $self->getApacheHtdocsPath . "/skins/common/" . $_ . ".png" )
|
||||
#{
|
||||
# $optionsLoop->{logoFile} = $_ . ".png";
|
||||
#}
|
||||
#else {
|
||||
$optionsLoop->{logoFile} = $auth . ".png";
|
||||
|
||||
#}
|
||||
# If displayType is logo, check if key.png is available
|
||||
if ( -e $self->conf->{templateDir}
|
||||
. "/../htdocs/static/common/modules/"
|
||||
. $_
|
||||
. ".png" )
|
||||
{
|
||||
$optionsLoop->{logoFile} = $_ . ".png";
|
||||
}
|
||||
else {
|
||||
$optionsLoop->{logoFile} = $auth . ".png";
|
||||
}
|
||||
|
||||
# Register item in loop
|
||||
push @authLoop, $optionsLoop;
|
||||
|
|
Loading…
Reference in New Issue
Block a user