From 6ac8aeaafd5782b614ccca97bd47cf989ce3f478 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 15 May 2008 13:51:21 +0000 Subject: Replaced references to ENV[SCRIPT_NAME] with self.conf.script. Logon link no longer forced to be https. git-svn-id: svn://svn.alpinelinux.org/acf/snort/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed --- snort-controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snort-controller.lua') diff --git a/snort-controller.lua b/snort-controller.lua index 3c0eafd..737f97c 100644 --- a/snort-controller.lua +++ b/snort-controller.lua @@ -55,12 +55,12 @@ function status(self) status = status, alerts=alerts, alertresult=alertresult, - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end function expert(self) local cmd = self.clientdata.cmd - local url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller + local url = self.conf.script .. self.conf.prefix .. self.conf.controller local modifications = self.clientdata.filecontent or "" if ( self.clientdata.cmdsave ) then -- cgit v1.2.3