projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mailgate realiability fix: don't bomb out when FS dbdef hasn't been initialized yet
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
5e34c1e
..
a4517e6
100644
(file)
--- a/
htetc/handler.pl
+++ b/
htetc/handler.pl
@@
-289,12
+289,20
@@
sub handler
};
};
- unless ( $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ ) { #RT
+ if ( $HTML::Mason::r->filename !~ /\/rt\/.*NoAuth/ ) { #not RT images/JS
+
$cgi = new CGI;
&cgisuidsetup($cgi);
#&cgisuidsetup($r);
$p = popurl(2);
$fsurl = rooturl();
$cgi = new CGI;
&cgisuidsetup($cgi);
#&cgisuidsetup($r);
$p = popurl(2);
$fsurl = rooturl();
+
+ } elsif ( $HTML::Mason::r->filename =~ /\/rt\/REST\/.*NoAuth/ ) {
+
+ #need to log somebody in for the mail gw
+ #&adminsuidsetup('fs_selfservice'); #old installs w/'fs_selfserv'??
+ &adminsuidsetup('fs_queue');
+
}
sub include {
}
sub include {