OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-registry Date: 02-Aug-2006 23:33:25 Branch: HEAD Handle: 2006080222332400 Modified files: openpkg-registry registry-ui.pl Log: use new CGI::GuruMeditation::configure feature Summary: Revision Changes Path 1.86 +9 -0 openpkg-registry/registry-ui.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-registry/registry-ui.pl ============================================================================ $ cvs diff -u -r1.85 -r1.86 registry-ui.pl --- openpkg-registry/registry-ui.pl 2 Aug 2006 21:32:09 -0000 1.85 +++ openpkg-registry/registry-ui.pl 2 Aug 2006 21:33:24 -0000 1.86 @@ -53,6 +53,9 @@ my $PREFIX='@l_prefix@'; $PREFIX=$ENV{OPENPKG_PREFIX} if ($ENV{OPENPKG_PREFIX} ne ""); +# configure optional debugging +CGI::GuruMeditation::configure(-debug => $cfg->{debug}->{ui}); + # initialize output my $response = {}; $response->{header} = {}; @@ -141,6 +144,12 @@ showversion 0; showsid 0; }; + + ## debugging + # + debug { + ui 0; + }; }; $defcfgtxt =~ s/^[ ]{4}//mg; $defcfgtxt =~ s/^\n//s; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org