From 23f05c5f20c5d90af14efff66f14c07d66b5947c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 20 Jun 2012 10:55:56 +0200 Subject: [PATCH] Ajout du menu LL::NG en option par vhost --- .../etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler index a866835..fba7928 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler @@ -5,6 +5,9 @@ if (($domain->prop('LemonLDAP') || 'disabled') eq 'enabled'){ " PerlHeaderParserHandler My::Package\n" . " ErrorDocument 403 https://auth.$DomainName/?lmError=403\n" . " ErrorDocument 500 https://auth.$DomainName/?lmError=500\n"; + if (($domain->prop('LemonLDAPMenu') || 'disabled') eq 'enabled'){ + $OUT .= " PerlOutputFilterHandler Lemonldap::NG::Handler::Menu\n"; + } } }