[rt-users] MasonX::Profiler + standalone web server
Ruslan Zakirov
ruslan.zakirov at gmail.com
Wed Nov 30 12:28:18 EST 2005
On 11/30/05, Stephen Turner <sturner at mit.edu> wrote:
>
> At Wednesday 11/30/2005 11:26 AM, Stephen Turner wrote:
> >Can someone give me a hint on how to get MasonX::Profiler to work with the
> >standalone web server?
> >
> >Thanks,
> >Steve
>
> I figured this out. I modified lib/RT/Interface/Web/Standalone.pm :
>
> - added 'use MasonX::Profiler;' at the top
>
> - added additional argument to the call to RT::Interface::Web::Handler->new
> in the new_handler method.
>
> preamble => 'my $p = MasonX::Profiler->new($m, $r);',
I think you can do the same from the RT config.
>
> Steve
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com
>
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at http://bestpractical.com/services/training.html
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list