projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
web access logging to DB
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
3c68e83
..
f41a3df
100644
(file)
--- a/
htetc/handler.pl
+++ b/
htetc/handler.pl
@@
-6,6
+6,7
@@
use strict;
use warnings;
use FS::Mason qw( mason_interps );
use FS::Trace;
use warnings;
use FS::Mason qw( mason_interps );
use FS::Trace;
+use FS::access_user_log;
if ( %%%RT_ENABLED%%% ) {
if ( %%%RT_ENABLED%%% ) {
@@
-104,7
+105,6
@@
sub handler
return -1 if defined( $r->content_type )
&& $r->content_type !~ m!(^text/|\bxml\b)!io;
return -1 if defined( $r->content_type )
&& $r->content_type !~ m!(^text/|\bxml\b)!io;
-
local $SIG{__WARN__};
local $SIG{__DIE__};
local $SIG{__WARN__};
local $SIG{__DIE__};
@@
-136,6
+136,8
@@
sub handler
}
}
+ FS::access_user_log->insert_new_path( $r->uri );
+
FS::Trace->log('handling request');
my %session;
my $status;
FS::Trace->log('handling request');
my %session;
my $status;