Line
Link Here
|
0 |
-- a/share/lua/intf/http.lua |
0 |
++ b/share/lua/intf/http.lua |
Lines 283-290
Link Here
|
283 |
local has_index = false |
283 |
local has_index = false |
284 |
local my_acl = parent_acl |
284 |
local my_acl = parent_acl |
285 |
do |
285 |
do |
286 |
local af = dir.."/.hosts" |
286 |
local af = vlc.config.homedir().."/.config/vlc/http-hosts" |
287 |
local s = vlc.net.stat(af) |
287 |
local s = vlc.net.stat(af) |
|
|
288 |
if not (s and s.type == "file") then |
289 |
af = dir.."/.hosts" |
290 |
s = vlc.net.stat(af) |
291 |
end |
288 |
if s and s.type == "file" then |
292 |
if s and s.type == "file" then |
289 |
-- We found an acl |
293 |
-- We found an acl |
290 |
my_acl = vlc.acl(false) |
294 |
my_acl = vlc.acl(false) |