mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Merge pull request #167 from YunoHost/fix-custom_overlay
fix theme loading
This commit is contained in:
commit
3b056bed76
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ end
|
||||||
|
|
||||||
function scandir(directory, callback)
|
function scandir(directory, callback)
|
||||||
-- use find (and not ls) to list only files recursively and with their full path relative to the asked directory
|
-- use find (and not ls) to list only files recursively and with their full path relative to the asked directory
|
||||||
local pfile = io.popen('find "'..directory..'" -type f')
|
local pfile = io.popen('find "'..directory..'" -type f -printf \"%f\n\"')
|
||||||
for filename in pfile:lines() do
|
for filename in pfile:lines() do
|
||||||
callback(filename)
|
callback(filename)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue