/); next unless ($ind); @@ -35,6 +38,17 @@ while ( my ( $url, $file ) = each %$docs ) { $ind-- unless ($div); s/\r//g; utf8::decode($_); + if(/
#

#g; + print STDERR "Trouvé: $`\n$&\n$'\n\n"; + } + elsif($pre) { + s#(?#

#g; + } + $pre++ if(/
#

#g if($pre); + $pre-- if(/<\/pre/); if(s#(["'])/xwiki/bin/download/NG/Presentation/([\w\.\-]+)\1#$1$2$1#) { $imgs{$2} = 1; } @@ -56,7 +70,7 @@ while ( my ( $url, $file ) = each %$docs ) { } close DOC; - open FILE, "|tidy -u -c -i -wrap 79 >$file"; + open FILE, "|tee /tmp/$file|tidy -u -c -i -wrap 79 >$file"; print FILE ' diff --git a/modules/lemonldap-ng-manager/example/lmConfig.mysql b/modules/lemonldap-ng-manager/example/lmConfig.mysql index 044a19d23..b3c594824 100644 --- a/modules/lemonldap-ng-manager/example/lmConfig.mysql +++ b/modules/lemonldap-ng-manager/example/lmConfig.mysql @@ -17,5 +17,6 @@ CREATE TABLE lmConfig ( exportedVars text, managerDn text, managerPassword text, + timeout int, whatToTrace text ); diff --git a/modules/lemonldap-ng-manager/scripts/lmConfig_File2MySQL b/modules/lemonldap-ng-manager/scripts/lmConfig_File2MySQL index 33ff6e2f4..fc8b4db18 100755 --- a/modules/lemonldap-ng-manager/scripts/lmConfig_File2MySQL +++ b/modules/lemonldap-ng-manager/scripts/lmConfig_File2MySQL @@ -35,6 +35,7 @@ if($opts{c}) { exportedVars text, managerDn text, managerPassword text, + timeout int, whatToTrace text\n);\n"; }