projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first pass at VoIP rating
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
885c216
..
81c9836
100644
(file)
--- a/
htetc/handler.pl
+++ b/
htetc/handler.pl
@@
-154,6
+154,9
@@
sub handler
use FS::part_export_option;
use FS::export_svc;
use FS::msgcat;
use FS::part_export_option;
use FS::export_svc;
use FS::msgcat;
+ use FS::rate;
+ use FS::rate_region;
+ use FS::rate_prefix;
if ( %%%RT_ENABLED%%% ) {
eval '
if ( %%%RT_ENABLED%%% ) {
eval '
@@
-208,11
+211,14
@@
sub handler
}
};
}
};
+
+ unless ( $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ ) { #RT
+ $cgi = new CGI;
+ &cgisuidsetup($cgi);
+ #&cgisuidsetup($r);
+ $p = popurl(2);
+ }
- $cgi = new CGI;
- &cgisuidsetup($cgi);
- #&cgisuidsetup($r);
- $p = popurl(2);
sub include {
use vars qw($m);
sub include {
use vars qw($m);