Commit fdcf7cfe authored by Ted Trask's avatar Ted Trask

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/dansguardian/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent ac11c151
......@@ -13,7 +13,7 @@ status = function( self )
srvctrl = { value = srvctrl}
}
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -39,7 +39,7 @@ general = function( self )
srvctrl = { value = srvctrl}
}
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -87,7 +87,7 @@ advanced = function( self )
srvctrl = { value = srvctrl}
}
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -110,7 +110,7 @@ plain = function( self )
end
end
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -150,7 +150,7 @@ edit = function( self )
redirect( self )
end
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -195,7 +195,7 @@ category = function( self )
srvctrl = { value = srvctrl}
}
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......@@ -251,7 +251,7 @@ editcategories = function( self )
errtxt="This button is not configured to work",
})
local option = { script = ENV["SCRIPT_NAME"],
local option = { script = self.conf.script,
prefix = self.conf.prefix,
controller = self.conf.controller,
action = self.conf.action,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment