[prev in list] [next in list] [prev in thread] [next in thread]
List: mason-cvs
Subject: [Mason-checkins] CVS: mason/dist/lib/HTML/Mason ApacheHandler.pm,1.315,1.316
From: John Williams <sharkey3 () users ! sourceforge ! net>
Date: 2004-12-17 22:50:54
Message-ID: E1CfQw2-0007nV-Ar () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/mason/mason/dist/lib/HTML/Mason
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29903/lib/HTML/Mason
Modified Files:
ApacheHandler.pm
Log Message:
Could it be? Yes, it's another mod_perl2 API change.
Index: ApacheHandler.pm
===================================================================
RCS file: /cvsroot/mason/mason/dist/lib/HTML/Mason/ApacheHandler.pm,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -r1.315 -r1.316
--- ApacheHandler.pm 17 Nov 2004 02:11:01 -0000 1.315
+++ ApacheHandler.pm 17 Dec 2004 22:50:50 -0000 1.316
@@ -668,7 +668,8 @@
# Apache2 lacks $s->uid.
# Workaround by searching the config tree.
require Apache::Directive;
- my $conftree = Apache::Directive->conftree;
+ # for mod_perl <= 1.99_16, use "Apache::Directive->conftree()"
+ my $conftree = Apache::Directive::conftree();
my $user = $conftree->lookup('User');
my $group = $conftree->lookup('Group');
$user =~ s/^["'](.*)["']$/$1/;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic