diff options
-rw-r--r-- | skins-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skins-model.lua b/skins-model.lua index 41000b1..f97198e 100644 --- a/skins-model.lua +++ b/skins-model.lua @@ -18,7 +18,7 @@ local function list_skins() local k,v for k,v in pairs(posix.dir(path) or {}) do -- Ignore files that begins with a '.' and 'cgi-bin' and only list folders - if not ((string.match(v, "^%.")) or (string.match(v, "^cgi[-]bin")) or (posix.stat(path .. v).type ~= "directory")) then + if not ((string.match(v, "^%.")) or (string.match(v, "^cgi[-]bin")) or (string.match(v, "^static")) or (posix.stat(path .. v).type ~= "directory")) then local f = v local current = conf.skin if (current == f) then |