[Rt-commit] [svn] r1217 - rt/branches/rt-3.1/lib/RT/Interface/Web
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Mon Jul 12 22:59:34 EDT 2004
Author: jesse
Date: Mon Jul 12 22:59:34 2004
New Revision: 1217
Modified:
rt/branches/rt-3.1/lib/RT/Interface/Web/Handler.pm
Log:
Modified: rt/branches/rt-3.1/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/branches/rt-3.1/lib/RT/Interface/Web/Handler.pm Mon Jul 12 22:59:34 2004
@@ -1,6 +1,6 @@
package RT::Interface::Web::Handler;
-my @DefaultHandlerArgs = (
+sub DefaultHandlerArgs { (
comp_root => [
[ local => $RT::MasonLocalComponentRoot ],
[ standard => $RT::MasonComponentRoot ]
@@ -9,7 +9,7 @@
data_dir => "$RT::MasonDataDir",
allow_globals => [qw(%session)],
autoflush => 1
-);
+) };
# {{{ sub new
@@ -120,7 +120,7 @@
sub NewHandler {
my $class = shift;
my $handler = $class->new(
- @DefaultHandlerArgs,
+ DefaultHandlerArgs(),
@_
);
More information about the Rt-commit
mailing list