Commit 4d57fead authored by Xavier Guimard's avatar Xavier Guimard

Now SOAP config access works...

parent affdc1f5
......@@ -61,7 +61,7 @@ Description: Lemonldap::NG manager part
Package: liblemonldap-ng-portal-perl
Architecture: all
Depends: ${misc:Depends}, libapache-session-perl, libnet-ldap-perl, liblemonldap-ng-conf-perl (= ${binary:Version}), libhtml-template-perl, libjs-jquery, liblemonldap-ng-handler-perl (= ${binary:Version}), libxml-libxml-perl, libxml-libxslt-perl, libstring-random-perl
Recommends: libcgi-session-perl, libmime-lite-perl
Recommends: libmime-lite-perl
Suggests: liblasso-perl, libcgi-session-perl, slapd
Description: Lemonldap::NG authentication portal part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
......
......@@ -240,7 +240,8 @@ sub getDBConf {
$v =~ s/^'(.*)'$/$1/s;
if ( $k =~
/^(?:exportedVars|locationRules|groups|exportedHeaders|macros|globalStorageOptions)$/
)
and $v ||= {}
and not ref($v) )
{
$conf->{$k} = {};
if ( defined($v) and $v !~ /^\$/ ) {
......
......@@ -87,7 +87,7 @@ sub store {
sub load {
my $self = shift;
return $self->_soapCall( 'load', @_ );
return $self->_soapCall( 'getConfig', @_ );
}
1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment