summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lsmb-request.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsmb-request.pl b/lsmb-request.pl
index ca59246e..a0de6115 100644
--- a/lsmb-request.pl
+++ b/lsmb-request.pl
@@ -36,7 +36,7 @@ eval { require "custom.pl"; };
$request = new LedgerSMB;
$request->{action} = '__default' if (!$request->{action});
-$request->debug({file => '/tmp/request'});
+
$ENV{SCRIPT_NAME} =~ m/([^\/\\]*.pl)\?*.*$/;
$script = $1;
$locale = LedgerSMB::Locale->get_handle( ${LedgerSMB::Sysconfig::language} )