projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
torrus, RT#10574
[freeside.git]
/
FS
/
FS
/
Mason.pm
diff --git
a/FS/FS/Mason.pm
b/FS/FS/Mason.pm
index
9b010e8
..
2d45e78
100644
(file)
--- a/
FS/FS/Mason.pm
+++ b/
FS/FS/Mason.pm
@@
-458,7
+458,8
@@
sub mason_interps {
#my $request_class = 'HTML::Mason::Request'.
#( $mode eq 'apache' ? '::ApacheHandler' : '' );
#my $request_class = 'HTML::Mason::Request'.
#( $mode eq 'apache' ? '::ApacheHandler' : '' );
- my $request_class = 'FS::Mason::Request';
+ my $request_class = $mode eq 'standalone' ? 'FS::Mason::StandaloneRequest'
+ : 'FS::Mason::Request';
#not entirely sure it belongs here, but what the hey
if ( %%%RT_ENABLED%%% && $mode ne 'standalone' ) {
#not entirely sure it belongs here, but what the hey
if ( %%%RT_ENABLED%%% && $mode ne 'standalone' ) {